define user repo interface
This commit is contained in:
parent
ec36052f22
commit
b0f57ab965
1 changed files with 9 additions and 0 deletions
9
src/User/UserRepository.php
Normal file
9
src/User/UserRepository.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace FreightQuote\User;
|
||||
|
||||
interface UserRepository
|
||||
{
|
||||
public function findByEmail(string $email): ?User;
|
||||
public function save(User $user): User;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue