You are here

public function Definition::setSynthetic in Zircon Profile 8

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

Sets whether this definition is synthetic, that is not constructed by the container, but dynamically injected.

Parameters

bool $boolean:

Return value

Definition the current instance

File

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

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function setSynthetic($boolean) {
  $this->synthetic = (bool) $boolean;
  return $this;
}