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.     /** @var string */
  10.     private $value;
  11.     public function getAliasName()
  12.     {
  13.         return 'since';
  14.     }
  15.     public function allowArray()
  16.     {
  17.         return false;
  18.     }
  19.     public function getValue(): string
  20.     {
  21.         return $this->value;
  22.     }
  23.     public function setValue(string $entity): void
  24.     {
  25.         $this->value $entity;
  26.     }
  27. }