public function Definition::setSynchronized

Sets the synchronized flag of this service.

@api

Parameters

Boolean $boolean:

Return value

Definition The current instance

File

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

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function setSynchronized($boolean) {
  $this->synchronized = (bool) $boolean;
  return $this;
}