mini\Http\Message\ServerRequest::withoutAttribute()
Method
public
Signature
public function withoutAttribute($name): Psr\Http\Message\ServerRequestInterface
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$name |
mixed | required | Documentation missing |
Returns
Psr\Http\Message\ServerRequestInterface
Documentation
Return an instance that removes the specified derived request attribute.
This method allows removing a single derived request attribute as described in getAttributes().
This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that removes the attribute.