vendor/shopware/core/Framework/Routing/Annotation/Since.php line 10

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace Shopware\Core\Framework\Routing\Annotation;
  3. use Sensio\Bundle\FrameworkExtraBundle\Configuration\ConfigurationAnnotation;
  4. /**
  5.  * @Annotation
  6.  */
  7. class Since extends ConfigurationAnnotation
  8. {
  9.     /**
  10.      * @var string
  11.      */
  12.     private $value;
  13.     /**
  14.      * @return string
  15.      */
  16.     public function getAliasName()
  17.     {
  18.         return 'since';
  19.     }
  20.     /**
  21.      * @return bool
  22.      */
  23.     public function allowArray()
  24.     {
  25.         return false;
  26.     }
  27.     public function getValue(): string
  28.     {
  29.         return $this->value;
  30.     }
  31.     public function setValue(string $entity): void
  32.     {
  33.         $this->value $entity;
  34.     }
  35. }