|
|
|
|
|
|
|
|
namespace Lc\SovBundle\Doctrine\Extension; |
|
|
namespace Lc\SovBundle\Doctrine\Extension; |
|
|
|
|
|
|
|
|
use Doctrine\ORM\Mapping as ORM; |
|
|
use Doctrine\ORM\Mapping as ORM; |
|
|
use Lc\SovBundle\Model\File\File; |
|
|
|
|
|
|
|
|
use Lc\SovBundle\Model\File\FileModel; |
|
|
use Lc\SovBundle\Model\File\FileInterface; |
|
|
use Lc\SovBundle\Model\File\FileInterface; |
|
|
|
|
|
|
|
|
trait OpenGraphTrait |
|
|
trait OpenGraphTrait |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function getOpenGraphImage(): ?File |
|
|
|
|
|
|
|
|
public function getOpenGraphImage(): ?FileModel |
|
|
{ |
|
|
{ |
|
|
return $this->openGraphImage; |
|
|
return $this->openGraphImage; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function setOpenGraphImage(?File $openGraphImage): self |
|
|
|
|
|
|
|
|
public function setOpenGraphImage(?FileModel $openGraphImage): self |
|
|
{ |
|
|
{ |
|
|
$this->openGraphImage = $openGraphImage; |
|
|
$this->openGraphImage = $openGraphImage; |
|
|
|
|
|
|