vendor/shopware/platform/src/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. /**
  5.  * @Annotation
  6.  */
  7. class NoStore extends ConfigurationAnnotation
  8. {
  9.     public const ALIAS 'noStore';
  10.     /**
  11.      * @return string
  12.      */
  13.     public function getAliasName()
  14.     {
  15.         return self::ALIAS;
  16.     }
  17.     /**
  18.      * @return bool
  19.      */
  20.     public function allowArray()
  21.     {
  22.         return false;
  23.     }
  24. }