vendor/ibexa/core/src/lib/MVC/Symfony/SiteAccessGroup.php line 11

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 Ibexa\Core\MVC\Symfony;
  8. final class SiteAccessGroup
  9. {
  10.     /** @var string */
  11.     private $name;
  12.     public function __construct(string $name)
  13.     {
  14.         $this->name $name;
  15.     }
  16.     public function getName(): string
  17.     {
  18.         return $this->name;
  19.     }
  20.     public function __toString()
  21.     {
  22.         return $this->name;
  23.     }
  24. }
  25. class_alias(SiteAccessGroup::class, 'eZ\Publish\Core\MVC\Symfony\SiteAccessGroup');