function service
Creates a reference to a service.
17 string references to 'service'
- Container::resolveServicesAndParameters in core/
lib/ Drupal/ Component/ DependencyInjection/ Container.php - Resolves arguments that represent services or variables to the real values.
- ContainerLoader::supports in vendor/
symfony/ routing/ Loader/ ContainerLoader.php - DrupalServiceDynamicReturnTypeExtension::isStaticMethodSupported in vendor/
mglaman/ phpstan-drupal/ src/ Type/ DrupalServiceDynamicReturnTypeExtension.php - ExpressionLanguageProvider::getFunctions in vendor/
symfony/ dependency-injection/ ExpressionLanguageProvider.php - LazyClosure::__get in vendor/
symfony/ dependency-injection/ Argument/ LazyClosure.php
File
-
vendor/
symfony/ dependency-injection/ Loader/ Configurator/ ContainerConfigurator.php, line 109
Namespace
Symfony\Component\DependencyInjection\Loader\ConfiguratorCode
function service(string $serviceId) : ReferenceConfigurator {
return new ReferenceConfigurator($serviceId);
}