/** * {@inheritdoc} */ public function withoutAttribute($name) { return new static($this->wrapped->withoutAttribute($name)); }
/** * {@inheritDoc} */ public function withoutAttribute($name) { return new self($this->app, $this->psrRequest->withoutAttribute($name)); }
/** * @test * @expectedException \bitExpert\Adroit\Action\Resolver\ActionResolveException */ public function throwsExceptionIfActionIdentifierCannotBeDetermined() { $this->request = $this->request->withoutAttribute(self::$routingResultAttribute); $this->middleware->__invoke($this->request, $this->response); }
/** * Proxy to ServerRequestInterface::withoutAttribute() * * {@inheritdoc} */ public function withoutAttribute($attribute) { $new = $this->psrRequest->withoutAttribute($attribute); return new self($new, $this->originalRequest); }
/** * @inheritDoc */ public function withoutAttribute($name) { $self = clone $this; $self->serverRequest = $this->serverRequest->withoutAttribute($name); return $self; }