You are here

class Scope in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Scope.php \Symfony\Component\DependencyInjection\Scope

Scope class.

@author Johannes M. Schmitt <schmittjoh@gmail.com>

Hierarchy

Expanded class hierarchy of Scope

8 files declare their use of Scope
CheckReferenceValidityPassTest.php in vendor/symfony/dependency-injection/Tests/Compiler/CheckReferenceValidityPassTest.php
container18.php in vendor/symfony/dependency-injection/Tests/Fixtures/containers/container18.php
ContainerAwareEventDispatcherTest.php in vendor/symfony/event-dispatcher/Tests/ContainerAwareEventDispatcherTest.php
ContainerAwareHttpKernel.php in vendor/symfony/http-kernel/DependencyInjection/ContainerAwareHttpKernel.php
ContainerBuilderTest.php in vendor/symfony/dependency-injection/Tests/ContainerBuilderTest.php

... See full list

File

vendor/symfony/dependency-injection/Scope.php, line 19

Namespace

Symfony\Component\DependencyInjection
View source
class Scope implements ScopeInterface {
  private $name;
  private $parentName;
  public function __construct($name, $parentName = ContainerInterface::SCOPE_CONTAINER) {
    $this->name = $name;
    $this->parentName = $parentName;
  }
  public function getName() {
    return $this->name;
  }
  public function getParentName() {
    return $this->parentName;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Scope::$name private property
Scope::$parentName private property
Scope::getName public function Overrides ScopeInterface::getName
Scope::getParentName public function Overrides ScopeInterface::getParentName
Scope::__construct public function