Sets a configurator to call after the service is fully initialized.
@api
Parameters
mixed $callable A PHP callable:
Return value
Definition The current instance
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;
}