class Scope in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Scope.php \Symfony\Component\DependencyInjection\Scope
Scope class.
@author Johannes M. Schmitt <schmittjoh@gmail.com>
@api
Hierarchy
- class \Symfony\Component\DependencyInjection\Scope implements \Symfony\Component\DependencyInjection\ScopeInterface
Expanded class hierarchy of Scope
6 files declare their use of Scope
- CheckReferenceValidityPassTest.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Compiler/ CheckReferenceValidityPassTest.php - container18.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ Fixtures/ containers/ container18.php - ContainerBuilderTest.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ ContainerBuilderTest.php - ContainerTest.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ ContainerTest.php - GraphvizDumper.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Dumper/ GraphvizDumper.php
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Scope.php, line 21
Namespace
Symfony\Component\DependencyInjectionView source
class Scope implements ScopeInterface {
private $name;
private $parentName;
/**
* @api
*/
public function __construct($name, $parentName = ContainerInterface::SCOPE_CONTAINER) {
$this->name = $name;
$this->parentName = $parentName;
}
/**
* @api
*/
public function getName() {
return $this->name;
}
/**
* @api
*/
public function getParentName() {
return $this->parentName;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Scope:: |
private | property | ||
Scope:: |
private | property | ||
Scope:: |
public | function | @api | |
Scope:: |
public | function | @api | |
Scope:: |
public | function | @api |