vendor/fri0z/mldev-seo-site-bundle/src/Entity/SeoSiteInfo.php line 18

Open in your IDE?
  1. <?php
  2. namespace MLDev\SeoSiteBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use MLDev\BaseBundle\Contract\SeoSite\SeoSiteInterface;
  5. use MLDev\BaseBundle\Entity\SeoInfo;
  6. use MLDev\SeoSiteBundle\Repository\SeoSiteInfoRepository;
  7. /**
  8.  * SeoSiteMetaData
  9.  *
  10.  * @ORM\Table(name="MLDev_SeoInfo")
  11.  * @ORM\Entity(repositoryClass=SeoSiteInfoRepository::class)
  12.  */
  13. class SeoSiteInfo extends SeoInfo
  14. {
  15.     /**
  16.      * @ORM\ManyToOne(targetEntity=SeoSiteInterface::class)
  17.      * @ORM\JoinColumn(name="seo_site_id", referencedColumnName="id", onDelete="CASCADE")
  18.      */
  19.     private $seoSite;
  20.     /**
  21.      * @return mixed
  22.      */
  23.     public function getSeoSite()
  24.     {
  25.         return $this->seoSite;
  26.     }
  27.     /**
  28.      * @param $seoSite
  29.      */
  30.     public function setSeoSite($seoSite): void
  31.     {
  32.         $this->seoSite $seoSite;
  33.     }
  34. }