Skip to content

Commit

Permalink
adding toArray to Model AbstractInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
jturbide committed Feb 24, 2024
1 parent 621db69 commit fd9eda3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Models/Interfaces/AbstractInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ interface AbstractInterface extends ModelInterface
{
public function setId($id);
public function getId();

public function toArray($columns = null, $useGetter = true): array;
}

0 comments on commit fd9eda3

Please sign in to comment.