user repo with create method
This commit is contained in:
parent
3411e8daf0
commit
6aaa8cac83
1 changed files with 10 additions and 0 deletions
10
app/User/UserRepository.php
Normal file
10
app/User/UserRepository.php
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\User;
|
||||||
|
|
||||||
|
use App\User\UseCases\CreateUserDto;
|
||||||
|
|
||||||
|
interface UserRepository
|
||||||
|
{
|
||||||
|
public function create(CreateUserDto $dto): User;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue