| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | abstract class AbstractAuthenticator implements AuthenticatorInterface |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Config |
||
| 27 | * |
||
| 28 | * @var mixed[] |
||
| 29 | */ |
||
| 30 | protected array $config = []; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Identifier or identifiers collection. |
||
| 34 | * |
||
| 35 | * @var \Phauthentic\Authentication\Identifier\IdentifierInterface |
||
| 36 | */ |
||
| 37 | protected IdentifierInterface $identifier; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Constructor |
||
| 41 | * |
||
| 42 | 276 | * @param \Phauthentic\Authentication\Identifier\IdentifierInterface $identifier Identifier or identifiers collection. |
|
| 43 | */ |
||
| 44 | 276 | public function __construct(IdentifierInterface $identifier) |
|
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Gets the identifier. |
||
| 51 | * |
||
| 52 | 4 | * @return \Phauthentic\Authentication\Identifier\IdentifierInterface |
|
| 53 | */ |
||
| 54 | 4 | public function getIdentifier(): IdentifierInterface |
|
| 59 |