src/V4/Model/QuoteTaskExternalRef/QuoteTaskExternalRef.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\V4\Model\QuoteTaskExternalRef;
  3. use App\Model\IriNormalizableInterface;
  4. use App\Model\NormalizeAsIRITrait;
  5. use App\Model\Traits\ImportableObjectTrait;
  6. use App\V4\Model\AbstractEntityExternalRef;
  7. use App\V4\Model\Quote\Quote;
  8. use Symfony\Component\Serializer\Annotation\Groups;
  9. class QuoteTaskExternalRef extends AbstractEntityExternalRef implements IriNormalizableInterface
  10. {
  11.     use ImportableObjectTrait;
  12.     use NormalizeAsIRITrait;
  13.     /**
  14.      * @var Quote|null
  15.      *
  16.      * @Groups({
  17.      *     "quote:update"
  18.      * })
  19.      */
  20.     private $quote;
  21.     /**
  22.      * @return Quote|null
  23.      */
  24.     public function getQuote(): ?Quote
  25.     {
  26.         return $this->quote;
  27.     }
  28.     /**
  29.      * @param Quote $quote
  30.      *
  31.      * @return self
  32.      */
  33.     public function setQuote(Quote $quote): self
  34.     {
  35.         $this->quote $quote;
  36.         return $this;
  37.     }
  38. }