public function __construct(User $user, Movie $movie, $score) { $this->user = $user; $this->movie = $movie; $this->score = $score; }