Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Auth\Domain\Service; |
| 4 | |
| 5 | use App\Auth\Application\Command\RegistrationCommand; |
| 6 | use App\Auth\Domain\Model\Identity; |
| 7 | use App\Shared\Domain\Model\EntityId; |
| 8 | |
| 9 | interface IdentityService |
| 10 | { |
| 11 | public function createIdentity(string $email, string $username, string $password): ?Identity; |
| 12 | |
| 13 | public function changeEmail(Identity $identity, string $email): Identity; |
| 14 | |
| 15 | public function complete(Identity $identity): Identity; |
| 16 | |
| 17 | } |