vendor/store.shopware.com/dreiscseopro/src/Subscriber/Installment/RobotsTag/RobotsTagStruct.php line 7

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace DreiscSeoPro\Subscriber\Installment\RobotsTag;
  3. use DreiscSeoPro\Core\Foundation\Struct\DefaultStruct;
  4. class RobotsTagStruct extends DefaultStruct
  5. {
  6.     /**
  7.      * @var string
  8.      */
  9.     protected $robotsTag;
  10.     /**
  11.      * @param string $robotsTag
  12.      */
  13.     public function __construct(string $robotsTag)
  14.     {
  15.         $this->robotsTag $robotsTag;
  16.     }
  17.     /**
  18.      * @return string
  19.      */
  20.     public function getRobotsTag(): string
  21.     {
  22.         return $this->robotsTag;
  23.     }
  24.     /**
  25.      * @param string $robotsTag
  26.      * @return RobotsTagStruct
  27.      */
  28.     public function setRobotsTag(string $robotsTag): RobotsTagStruct
  29.     {
  30.         $this->robotsTag $robotsTag;
  31.         return $this;
  32.     }
  33. }