Scope class.
@author Johannes M. Schmitt <schmittjoh@gmail.com>
@api
Expanded class hierarchy of Scope
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;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Scope:: |
private | property | ||
Scope:: |
private | property | ||
Scope:: |
public | function |
@api Overrides ScopeInterface:: |
|
Scope:: |
public | function |
@api Overrides ScopeInterface:: |
|
Scope:: |
public | function | @api |