You are here

public function DefinitionDecorator::setConfigurator in Zircon Profile 8

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

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

Parameters

callable $callable A PHP callable:

Return value

Definition The current instance

Overrides Definition::setConfigurator

File

vendor/symfony/dependency-injection/DefinitionDecorator.php, line 113

Class

DefinitionDecorator
This definition decorates another definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function setConfigurator($callable) {
  $this->changes['configurator'] = true;
  return parent::setConfigurator($callable);
}