| @@ 102-111 (lines=10) @@ | ||
| 99 | return count($this->data['declaredTraits']); |
|
| 100 | } |
|
| 101 | ||
| 102 | public function getDefinedConstants(): array |
|
| 103 | { |
|
| 104 | static $sorted = false; |
|
| 105 | if ($sorted === false) { |
|
| 106 | $sorted = true; |
|
| 107 | ksort($this->data['definedConstants']); |
|
| 108 | } |
|
| 109 | ||
| 110 | return $this->data['definedConstants']; |
|
| 111 | } |
|
| 112 | ||
| 113 | public function countDefinedConstants(): int |
|
| 114 | { |
|
| @@ 150-159 (lines=10) @@ | ||
| 147 | return count($this->data['services']); |
|
| 148 | } |
|
| 149 | ||
| 150 | public function getParameters(): array |
|
| 151 | { |
|
| 152 | static $sorted = false; |
|
| 153 | if ($sorted === false) { |
|
| 154 | $sorted = true; |
|
| 155 | ksort($this->data['parameters']); |
|
| 156 | } |
|
| 157 | ||
| 158 | return $this->data['parameters']; |
|
| 159 | } |
|
| 160 | ||
| 161 | public function countParameters(): int |
|
| 162 | { |
|
| @@ 166-175 (lines=10) @@ | ||
| 163 | return count($this->data['parameters']); |
|
| 164 | } |
|
| 165 | ||
| 166 | public function getListeners(): array |
|
| 167 | { |
|
| 168 | static $sorted = false; |
|
| 169 | if ($sorted === false) { |
|
| 170 | $sorted = true; |
|
| 171 | ksort($this->data['listeners']); |
|
| 172 | } |
|
| 173 | ||
| 174 | return $this->data['listeners']; |
|
| 175 | } |
|
| 176 | ||
| 177 | public function countListeners(): int |
|
| 178 | { |
|
| @@ 187-196 (lines=10) @@ | ||
| 184 | return $return; |
|
| 185 | } |
|
| 186 | ||
| 187 | public function getInstantiatedServices(): array |
|
| 188 | { |
|
| 189 | static $sorted = false; |
|
| 190 | if ($sorted === false) { |
|
| 191 | $sorted = true; |
|
| 192 | ksort($this->data['instantiatedServices']); |
|
| 193 | } |
|
| 194 | ||
| 195 | return $this->data['instantiatedServices']; |
|
| 196 | } |
|
| 197 | ||
| 198 | public function countInstantiatedServices(): int |
|
| 199 | { |
|