1 | <?php |
||
10 | class StaticTypeIdsStore implements TypeIdsAcquirer, TypeIdsResolver { |
||
11 | |||
12 | /** @var int[] */ |
||
13 | private $typeIdsByName; |
||
14 | |||
15 | /** @var string[] */ |
||
16 | private $typeNamesById; |
||
17 | |||
18 | /** |
||
19 | * @param int[] $types Array from type name to type ID. |
||
20 | */ |
||
21 | public function __construct( array $types ) { |
||
25 | |||
26 | public function acquireTypeIds( array $types ): array { |
||
37 | |||
38 | public function resolveTypeIds( array $typeIds ): array { |
||
47 | |||
48 | } |
||
49 |