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

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

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