1 | <?php |
||
8 | class PrivateStaticTransformer implements TransformerInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var array |
||
12 | */ |
||
13 | protected $classes = []; |
||
14 | |||
15 | /** |
||
16 | * @var int |
||
17 | */ |
||
18 | protected $sort = 0; |
||
19 | |||
20 | /** |
||
21 | * @param array $classes |
||
22 | */ |
||
23 | public function __construct(array $classes, $sort = 0) |
||
28 | |||
29 | /** |
||
30 | * This loops through each class and fetches the private static config for each class. |
||
31 | */ |
||
32 | public function transform() |
||
41 | |||
42 | /** |
||
43 | * This is responsible for introspecting a given class and returning an |
||
44 | * array continaing all of its private statics |
||
45 | * |
||
46 | * @param string $class |
||
47 | * |
||
48 | * @return string[] |
||
49 | */ |
||
50 | protected function getClassConfig($class) |
||
70 | |||
71 | } |
||
72 |