/** * {@inheritdoc} */ public function hasToken(Request $request) { return $this->session->has($this->key); }
/** * {@inheritdoc} */ public function fetchToken(Request $request, $name) { return new Token($this->session->has($this->key), $name); }