Stevemo\Cpanel\User\Repo\UserRepository::findByLogin PHP Метод

findByLogin() публичный Метод

Find a given user by the login attribute
Автор: Steve Montambeault
public findByLogin ( $login ) : Cartalyst\Sentry\Users\UserInterface
$login
Результат Cartalyst\Sentry\Users\UserInterface
    public function findByLogin($login)
    {
        try {
            return $this->sentry->findUserByLogin($login);
        } catch (SentryUserNotFoundException $e) {
            throw new UserNotFoundException($e->getMessage());
        }
    }