4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\DependencyInjection;
17 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
19 * @deprecated since version 2.8, to be removed in 3.0.
21 class Scope implements ScopeInterface
26 public function __construct($name, $parentName = ContainerInterface::SCOPE_CONTAINER)
29 $this->parentName = $parentName;
32 public function getName()
37 public function getParentName()
39 return $this->parentName;