add find method to user repo
This commit is contained in:
parent
baa5dee0b3
commit
9c2f95eda1
1 changed files with 1 additions and 0 deletions
|
|
@ -7,4 +7,5 @@ use App\User\UseCases\CreateUserDto;
|
||||||
interface UserRepository
|
interface UserRepository
|
||||||
{
|
{
|
||||||
public function create(CreateUserDto $dto): User;
|
public function create(CreateUserDto $dto): User;
|
||||||
|
public function find(int $id): ?User;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue