| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 13 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 24 | private static function all(): array  | 
            ||
| 25 |     { | 
            ||
| 26 | $segments = [];  | 
            ||
| 27 | |||
| 28 | $managers = app(Managers::class)->all();  | 
            ||
| 29 | |||
| 30 |         foreach ($managers as $manager) { | 
            ||
| 31 |             if (contract($manager->model(), ProvidesUrl::class)) { | 
            ||
| 32 | $segments[] = $manager->model()->baseUrlSegment();  | 
            ||
| 33 | }  | 
            ||
| 34 | }  | 
            ||
| 35 | |||
| 36 | return array_unique($segments);  | 
            ||
| 37 | }  | 
            ||
| 39 |