You are here

public function Reference::getInvalidBehavior in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Reference.php \Symfony\Component\DependencyInjection\Reference::getInvalidBehavior()

Returns the behavior to be used when the service does not exist.

Return value

int

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Reference.php, line 58

Class

Reference
Reference represents a service reference.

Namespace

Symfony\Component\DependencyInjection

Code

public function getInvalidBehavior() {
  return $this->invalidBehavior;
}