1 | <?php |
||
11 | class AclCommand extends AbstractMagentoCommand |
||
12 | { |
||
13 | /** |
||
14 | * @var AclConfigReader |
||
15 | */ |
||
16 | private $configReader; |
||
17 | |||
18 | protected function configure() |
||
25 | |||
26 | /** |
||
27 | * @param AclConfigReader $configReader |
||
28 | */ |
||
29 | public function inject(AclConfigReader $configReader) |
||
33 | |||
34 | /** |
||
35 | * @param InputInterface $input |
||
36 | * @param OutputInterface $output |
||
37 | * |
||
38 | * @return int|void |
||
39 | */ |
||
40 | protected function execute(InputInterface $input, OutputInterface $output) |
||
55 | |||
56 | /** |
||
57 | * @param TreeHelper $tree |
||
58 | * @param array $row |
||
59 | */ |
||
60 | protected function renderNode($tree, $row) |
||
74 | |||
75 | /** |
||
76 | * @param $row |
||
77 | * |
||
78 | * @return string |
||
79 | */ |
||
80 | private function formatNode($row) |
||
84 | |||
85 | /** |
||
86 | * @param $array |
||
87 | */ |
||
88 | public function recursiveSort(array &$array) |
||
98 | |||
99 | /** |
||
100 | * @param array $a |
||
101 | * @param array $b |
||
102 | * |
||
103 | * @return int |
||
104 | */ |
||
105 | private function compareNodes(array $a, array $b) |
||
116 | } |
||
117 |