| @@ 233-246 (lines=14) @@ | ||
| 230 | /** |
|
| 231 | * {@inheritdoc} |
|
| 232 | */ |
|
| 233 | public function findRootInstallerDescriptors(Expression $expr) |
|
| 234 | { |
|
| 235 | $this->assertInstallersLoaded(); |
|
| 236 | ||
| 237 | $installers = array(); |
|
| 238 | ||
| 239 | foreach ($this->rootInstallerDescriptors as $installer) { |
|
| 240 | if ($expr->evaluate($installer)) { |
|
| 241 | $installers[] = $installer; |
|
| 242 | } |
|
| 243 | } |
|
| 244 | ||
| 245 | return $installers; |
|
| 246 | } |
|
| 247 | ||
| 248 | /** |
|
| 249 | * {@inheritdoc} |
|
| @@ 305-318 (lines=14) @@ | ||
| 302 | /** |
|
| 303 | * {@inheritdoc} |
|
| 304 | */ |
|
| 305 | public function findInstallerDescriptors(Expression $expr) |
|
| 306 | { |
|
| 307 | $this->assertInstallersLoaded(); |
|
| 308 | ||
| 309 | $installers = array(); |
|
| 310 | ||
| 311 | foreach ($this->installerDescriptors as $installer) { |
|
| 312 | if ($expr->evaluate($installer)) { |
|
| 313 | $installers[] = $installer; |
|
| 314 | } |
|
| 315 | } |
|
| 316 | ||
| 317 | return $installers; |
|
| 318 | } |
|
| 319 | ||
| 320 | /** |
|
| 321 | * {@inheritdoc} |
|