You are here

public function Definition::setConfigurator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Definition.php \Symfony\Component\DependencyInjection\Definition::setConfigurator()

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

Parameters

callable $callable A PHP callable:

Return value

Definition The current instance

1 call to Definition::setConfigurator()
DefinitionDecorator::setConfigurator in vendor/symfony/dependency-injection/DefinitionDecorator.php
Sets a configurator to call after the service is fully initialized.
1 method overrides Definition::setConfigurator()
DefinitionDecorator::setConfigurator in vendor/symfony/dependency-injection/DefinitionDecorator.php
Sets a configurator to call after the service is fully initialized.

File

vendor/symfony/dependency-injection/Definition.php, line 708

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

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