| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace Anomaly\Streams\Platform\Ui\ControlPanel\Component\Section; |
||
| 57 | public function children($parent) |
||
| 58 | { |
||
| 59 | return self::make( |
||
| 60 | array_filter( |
||
| 61 | $this->all(), |
||
| 62 | function (SectionInterface $section) use ($parent) { |
||
| 63 | return $section->getParent() === $parent; |
||
| 64 | } |
||
| 65 | ) |
||
| 66 | ); |
||
| 67 | } |
||
| 68 | } |
||
| 69 |