| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 15 | public function __construct(array $providers) | ||
| 16 |     { | ||
| 17 |         $this->items = collect($providers)->map(function (string $provider) { | ||
| 18 | return app()->make($provider); | ||
| 19 |         })->filter(function ($provider) { | ||
| 20 | return $provider instanceof AbstractFrontendDataProvider; | ||
| 21 | })->filter->hasData(); | ||
| 22 | } | ||
| 23 | |||
| 45 |