$providers */ public function __construct(iterable $providers) { foreach ($providers as $item) { $this->providers[] = $item; } } /** * Get all registered status providers * * @return StatusProviderInterface[] */ public function getProviders(): array { return $this->providers; } }