public function Definition::setConfigurator

Sets a configurator to call after the service is fully initialized.

@api

Parameters

mixed $callable A PHP callable:

Return value

Definition The current instance

1 call to Definition::setConfigurator()
DefinitionDecorator::setConfigurator in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/DefinitionDecorator.php
@api
1 method overrides Definition::setConfigurator()
DefinitionDecorator::setConfigurator in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/DefinitionDecorator.php
@api

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Definition.php, line 637

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function setConfigurator($callable) {
  $this->configurator = $callable;
  return $this;
}