Pagekit\Auth\Handler\DatabaseHandler::getToken PHP Méthode

getToken() protected méthode

Gets the token from the request.
protected getToken ( ) : mixed
Résultat mixed
    protected function getToken()
    {
        if ($request = $this->getRequest()) {
            return $request->cookies->get($this->config['cookie']['name']);
        }
    }