vendor/shopware/platform/src/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.     public function getAliasName()
  14.     {
  15.         return 'since';
  16.     }
  17.     public function allowArray()
  18.     {
  19.         return false;
  20.     }
  21.     public function getValue(): string
  22.     {
  23.         return $this->value;
  24.     }
  25.     public function setValue(string $entity): void
  26.     {
  27.         $this->value $entity;
  28.     }
  29. }