|
@@ -67,6 +67,7 @@ class Film
|
|
|
|
|
|
/**
|
|
|
* @ORM\OneToOne(targetEntity="AppBundle\Entity\MediaVideo", cascade={"persist","remove"})
|
|
|
+ * @ORM\JoinColumn(nullable=true)
|
|
|
*/
|
|
|
private $mediaVideo;
|
|
|
|
|
@@ -97,7 +98,7 @@ class Film
|
|
|
private $usersWhoSeen;
|
|
|
|
|
|
/**
|
|
|
- * @return mixed
|
|
|
+ * @return \AppBundle\Entity\MediaVideo $mediaVideo
|
|
|
*/
|
|
|
public function getMediaVideo()
|
|
|
{
|
|
@@ -107,7 +108,7 @@ class Film
|
|
|
/**
|
|
|
* @param mixed $mediaVideo
|
|
|
*/
|
|
|
- public function setMediaVideo(\AppBundle\Entity\MediaVideo $mediaVideo)
|
|
|
+ public function setMediaVideo(\AppBundle\Entity\MediaVideo $mediaVideo = null)
|
|
|
{
|
|
|
$this->mediaVideo = $mediaVideo;
|
|
|
}
|