| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class IdentifierSource |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var array |
||
| 9 | */ |
||
| 10 | protected $identifiers; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $entityClass; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param array $identifiers |
||
| 19 | * @param string $entityClass |
||
| 20 | */ |
||
| 21 | public function __construct(array $identifiers, string $entityClass) |
||
| 22 | { |
||
| 23 | $this->identifiers = $identifiers; |
||
| 24 | $this->entityClass = $entityClass; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function getIdentifiers(): array |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getEntityClass(): string |
||
| 41 | } |
||
| 42 | } |
||
| 43 |