| 1 | <?php |
||
| 10 | final class IdentityNotFoundEvent extends Event |
||
| 11 | { |
||
| 12 | public const NAME = '68publishers.doctrine_identity.identity_not_found'; |
||
| 13 | |||
| 14 | /** @var \SixtyEightPublishers\User\DoctrineIdentity\IdentityReference */ |
||
| 15 | private $identityReference; |
||
| 16 | |||
| 17 | /** @var string|NULL */ |
||
| 18 | private $namespace; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \SixtyEightPublishers\User\DoctrineIdentity\IdentityReference $identityReference |
||
| 22 | * @param string|NULL $namespace |
||
| 23 | */ |
||
| 24 | public function __construct(IdentityReference $identityReference, ?string $namespace) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return \SixtyEightPublishers\User\DoctrineIdentity\IdentityReference |
||
| 32 | */ |
||
| 33 | public function getIdentityReference(): IdentityReference |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return NULL|string |
||
| 40 | */ |
||
| 41 | public function getNamespace(): ?string |
||
| 45 | } |
||
| 46 |