1 | <?php declare(strict_types = 1); |
||
19 | abstract class AbstractCollectionResolver |
||
20 | { |
||
21 | /** @var array Collection of collection configurators */ |
||
22 | protected $collectionConfigurators = []; |
||
23 | |||
24 | /** |
||
25 | * ArrayPropertyResolver constructor. |
||
26 | * |
||
27 | * @param array $collectionConfigurators |
||
28 | * |
||
29 | * @throws \InvalidArgumentException |
||
30 | */ |
||
31 | 1 | public function __construct(array $collectionConfigurators) |
|
43 | |||
44 | /** |
||
45 | * Get collection configurator collection key name for resolving. |
||
46 | * |
||
47 | * @param string $className Full collection configurator class name with namespace |
||
48 | * |
||
49 | * @return string Collection configurator collection key name |
||
50 | */ |
||
51 | 1 | public function getKey($className) : string |
|
61 | } |
||
62 |