/** * @return Movie[] */ public function getMovies() { return $this->movies->toArray(); }
/** * @param \Movies\Movie $movie */ public function removeMovie(Movie $movie) { if ($this->movies->contains($movie)) { $this->movies->removeElement($movie); } }