You are here

public function Scope::__construct in Service Container 7

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

@api

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Scope.php, line 29

Class

Scope
Scope class.

Namespace

Symfony\Component\DependencyInjection

Code

public function __construct($name, $parentName = ContainerInterface::SCOPE_CONTAINER) {
  $this->name = $name;
  $this->parentName = $parentName;
}