Pathologic was missing because of a .git folder inside.
[yaffs-website] / vendor / symfony / dependency-injection / Scope.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\DependencyInjection;
13
14 /**
15  * Scope class.
16  *
17  * @author Johannes M. Schmitt <schmittjoh@gmail.com>
18  *
19  * @deprecated since version 2.8, to be removed in 3.0.
20  */
21 class Scope implements ScopeInterface
22 {
23     private $name;
24     private $parentName;
25
26     public function __construct($name, $parentName = ContainerInterface::SCOPE_CONTAINER)
27     {
28         $this->name = $name;
29         $this->parentName = $parentName;
30     }
31
32     public function getName()
33     {
34         return $this->name;
35     }
36
37     public function getParentName()
38     {
39         return $this->parentName;
40     }
41 }