src/Kunstmaan/AdminBundle/Helper/AdminPanel/AdminPanel.php 1 location
|
@@ 66-74 (lines=9) @@
|
63 |
|
/** |
64 |
|
* Sorts the internal list of adaptors by priority. |
65 |
|
*/ |
66 |
|
private function sortAdaptors() |
67 |
|
{ |
68 |
|
$this->sorted = array(); |
69 |
|
|
70 |
|
if (isset($this->adaptors)) { |
71 |
|
krsort($this->adaptors); |
72 |
|
$this->sorted = array_merge(...$this->adaptors); |
73 |
|
} |
74 |
|
} |
75 |
|
} |
76 |
|
|
src/Kunstmaan/AdminBundle/Helper/Menu/MenuBuilder.php 1 location
|
@@ 188-196 (lines=9) @@
|
185 |
|
/** |
186 |
|
* Sorts the internal list of adaptors by priority. |
187 |
|
*/ |
188 |
|
private function sortAdaptors() |
189 |
|
{ |
190 |
|
$this->sorted = array(); |
191 |
|
|
192 |
|
if (isset($this->adaptors)) { |
193 |
|
krsort($this->adaptors); |
194 |
|
$this->sorted = array_merge(...$this->adaptors); |
195 |
|
} |
196 |
|
} |
197 |
|
} |
198 |
|
|