1 | <?php |
||
22 | trait StorageInjectorTrait |
||
23 | { |
||
24 | /** @var StorageInterface[] */ |
||
25 | protected $dataStorages = []; |
||
26 | |||
27 | /** |
||
28 | * Add Storage instances to internal library. |
||
29 | * |
||
30 | * @param StorageInterface[] ...$dataStorages |
||
31 | */ |
||
32 | protected function addStorageInstances(array $dataStorages) : void |
||
45 | |||
46 | /** |
||
47 | * Retrieves |
||
48 | * |
||
49 | * @param string $name |
||
50 | * @param array $arguments |
||
51 | * @return null|StorageInterface |
||
52 | */ |
||
53 | public function __call(string $name, array $arguments) : ? StorageInterface |
||
61 | } |
||
62 |