| Conditions | 4 |
| Paths | 4 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function findAll() |
||
| 42 | { |
||
| 43 | if (null !== $this->yamls) { |
||
| 44 | return $this->yamls; |
||
| 45 | } |
||
| 46 | |||
| 47 | $yamls = array(); |
||
| 48 | |||
| 49 | foreach ($this->kernel->getBundles() as $name => $bundle) { |
||
| 50 | foreach ($this->find($bundle) as $yaml) { |
||
| 51 | $yamls[$yaml] = $yaml; |
||
| 52 | } |
||
| 53 | } |
||
| 54 | |||
| 55 | return $this->yamls = $yamls; |
||
| 56 | } |
||
| 57 | |||
| 85 |