add getAll method to text repo
This commit is contained in:
parent
e4001b564a
commit
878e4840a2
1 changed files with 5 additions and 0 deletions
|
|
@ -10,4 +10,9 @@ interface TextRepository
|
||||||
public function create(CreateTextDto $dto): Text;
|
public function create(CreateTextDto $dto): Text;
|
||||||
|
|
||||||
public function find(int $id): ?Text;
|
public function find(int $id): ?Text;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Text[]
|
||||||
|
*/
|
||||||
|
public function getAll(): array;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue