function ServiceLocatorTrait::__construct
Parameters
array<string, callable> $factories:
2 calls to ServiceLocatorTrait::__construct()
- ServiceLocator::__construct in vendor/
symfony/ dependency-injection/ Argument/ ServiceLocator.php - ServiceLocator::__construct in vendor/
symfony/ dependency-injection/ Argument/ ServiceLocator.php
1 method overrides ServiceLocatorTrait::__construct()
- ServiceLocator::__construct in vendor/
symfony/ dependency-injection/ Argument/ ServiceLocator.php
File
-
vendor/
symfony/ service-contracts/ ServiceLocatorTrait.php, line 36
Class
- ServiceLocatorTrait
- A trait to help implement ServiceProviderInterface.
Namespace
Symfony\Contracts\ServiceCode
public function __construct(array $factories) {
$this->factories = $factories;
}