public function __construct(\Episode $episode, \User $sender, \User $recipient, OphCoMessaging_Message_MessageType $type) { $this->episode = $episode; $this->sender = $sender; $this->recipient = $recipient; $this->type = $type; }