getKey(); } /** * Get the password for the user. * * @return string */ public function getAuthPassword() { return $this->password; } /** * Get the e-mail address where password reminders are sent. * * @return string */ public function getReminderEmail() { return $this->email; } public function films() { return $this->hasMany('Film', 'user'); } public function comments() { return $this->hasMany('Comment', 'user'); } public function votes() { return $this->hasMany('Vote', 'user'); } public function news() { return $this->hasMany('News', 'author'); } }