vendor/ezsystems/ezplatform-kernel/eZ/Bundle/EzPublishCoreBundle/DependencyInjection/Configuration/ConfigResolver/GlobalScopeConfigResolver.php line 14

Open in your IDE?
  1. <?php
  2. /**
  3.  * @copyright Copyright (C) Ibexa AS. All rights reserved.
  4.  * @license For full copyright and license information view LICENSE file distributed with this source code.
  5.  */
  6. declare(strict_types=1);
  7. namespace eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ConfigResolver;
  8. /**
  9.  * @internal
  10.  */
  11. class GlobalScopeConfigResolver extends ContainerConfigResolver
  12. {
  13.     private const SCOPE_NAME 'global';
  14.     public function __construct(string $defaultNamespace)
  15.     {
  16.         parent::__construct(self::SCOPE_NAME$defaultNamespace);
  17.     }
  18.     public function hasParameter(string $paramName, ?string $namespace null, ?string $scope null): bool
  19.     {
  20.         return parent::hasParameter($paramName$namespaceself::SCOPE_NAME);
  21.     }
  22.     public function getParameter(string $paramName, ?string $namespace null, ?string $scope null)
  23.     {
  24.         return parent::getParameter($paramName$namespaceself::SCOPE_NAME);
  25.     }
  26. }