/** * Get the attributes that should be converted to dates. * * @return array */ public function getDates() { return array_merge(parent::getDates(), array('activated_at', 'last_login', 'last_active')); }