You are here

public function AnalyzeServiceReferencesPass::__construct in Service Container 7

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

Constructor.

Parameters

bool $onlyConstructorArguments Sets this Service Reference pass to ignore method calls:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Compiler/AnalyzeServiceReferencesPass.php, line 41

Class

AnalyzeServiceReferencesPass
Run this pass before passes that need to know more about the relation of your services.

Namespace

Symfony\Component\DependencyInjection\Compiler

Code

public function __construct($onlyConstructorArguments = false) {
  $this->onlyConstructorArguments = (bool) $onlyConstructorArguments;
}