1 | <?php |
||
9 | class PrivateStaticTransformer implements TransformerInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var array |
||
13 | */ |
||
14 | protected $classes = []; |
||
15 | |||
16 | /** |
||
17 | * @var int |
||
18 | */ |
||
19 | protected $sort = 0; |
||
20 | |||
21 | /** |
||
22 | * @var ConfigCollectionInterface |
||
23 | */ |
||
24 | protected $collection; |
||
25 | |||
26 | /** |
||
27 | * @param array $classes |
||
28 | */ |
||
29 | 3 | public function __construct(array $classes, ConfigCollectionInterface $collection) |
|
34 | |||
35 | /** |
||
36 | * This loops through each class and fetches the private static config for each class. |
||
37 | */ |
||
38 | 3 | public function transform() |
|
55 | |||
56 | /** |
||
57 | * This is responsible for introspecting a given class and returning an |
||
58 | * array continaing all of its private statics |
||
59 | * |
||
60 | * @param string $class |
||
61 | * |
||
62 | * @return mixed |
||
63 | */ |
||
64 | 2 | protected function getClassConfig($class) |
|
91 | |||
92 | } |
||
93 |