You are here

public function Definition::isSynchronized in Zircon Profile 8.0

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

Whether this service is synchronized.

Return value

bool

Deprecated

since version 2.7, will be removed in 3.0.

File

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

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function isSynchronized($triggerDeprecationError = true) {
  if ($triggerDeprecationError) {
    @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.7 and will be removed in 3.0.', E_USER_DEPRECATED);
  }
  return $this->synchronized;
}