public function ServerRequestInterface::withoutAttribute in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/psr/http-message/src/ServerRequestInterface.php \Psr\Http\Message\ServerRequestInterface::withoutAttribute()
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.
Parameters
string $name The attribute name.:
Return value
self
See also
getAttributes()
2 methods override ServerRequestInterface::withoutAttribute()
- ServerRequest::withoutAttribute in vendor/
zendframework/ zend-diactoros/ src/ ServerRequest.php - Return an instance that removes the specified derived request attribute.
- ServerRequest::withoutAttribute in vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ ServerRequest.php - Return an instance that removes the specified derived request attribute.
File
- vendor/
psr/ http-message/ src/ ServerRequestInterface.php, line 260
Class
- ServerRequestInterface
- Representation of an incoming, server-side HTTP request.
Namespace
Psr\Http\MessageCode
public function withoutAttribute($name);