public function __construct(Registry $providersRegistry) { $this->providerRegistry = $providersRegistry; }