/** * Activates the given user. * * @param mixed $user * * @return bool * @throws \InvalidArgumentException */ public function activate($user) { return $this->sentinel->activate($user); }
/** * Activates the given user. * * @param mixed $user * @return bool * @throws \InvalidArgumentException * @static */ public static function activate($user) { return \Cartalyst\Sentinel\Sentinel::activate($user); }