public function completed(UserInterface $user) { $activation = $this->createModel()->newQuery()->where('user_id', $user->getUserId())->where('completed', true)->first(); return $activation ?: false; }
/** * {@inheritDoc} * * @static */ public static function completed($user) { return \Cartalyst\Sentinel\Activations\IlluminateActivationRepository::completed($user); }