vendor/shopware/storefront/Framework/Routing/Annotation/NoStore.php line 10

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Storefront\Framework\Routing\Annotation;
  3. use Sensio\Bundle\FrameworkExtraBundle\Configuration\ConfigurationAnnotation;
  4. use Shopware\Core\Framework\Log\Package;
  5. /**
  6.  * @Annotation
  7.  */
  8. #[Package('storefront')]
  9. class NoStore extends ConfigurationAnnotation
  10. {
  11.     public const ALIAS 'noStore';
  12.     /**
  13.      * @return string
  14.      */
  15.     public function getAliasName()
  16.     {
  17.         return self::ALIAS;
  18.     }
  19.     /**
  20.      * @return bool
  21.      */
  22.     public function allowArray()
  23.     {
  24.         return false;
  25.     }
  26. }