ServiceLocator
class ServiceLocator implements ContainerInterface
Методы
| __construct(array $factories) | ||
| has($id) {@inheritdoc} | ||
| get($id) {@inheritdoc} | ||
| __invoke($id) | ||
| withContext($externalId, Контейнер $container) |
Подробности
__construct(array $factories)
Параметры
| array | $factories |
has($id)
{@inheritdoc}
Параметры
| $id |
get($id)
{@inheritdoc}
Параметры
| $id |
__invoke($id)
Параметры
| $id |
withContext($externalId, Контейнер $container)
Параметры
| $externalId | ||
| Контейнер | $container |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.4/Symfony/Component/DependencyInjection/ServiceLocator.html