Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public function withoutAttribute($name)
 {
     return new static($this->wrapped->withoutAttribute($name));
 }
Beispiel #2
0
 /**
  * {@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);
 }
Beispiel #5
0
 /**
  * @inheritDoc
  */
 public function withoutAttribute($name)
 {
     $self = clone $this;
     $self->serverRequest = $this->serverRequest->withoutAttribute($name);
     return $self;
 }