You are here

public function Message::withoutHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Message.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\Message::withoutHeader()

Return an instance without the specified header.

Header resolution MUST be done without case-sensitivity.

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 named header.

Parameters

string $name Case-insensitive header field name to remove.:

Return value

self

Overrides MessageInterface::withoutHeader

File

vendor/symfony/psr-http-message-bridge/Tests/Fixtures/Message.php, line 75

Class

Message
Message.

Namespace

Symfony\Bridge\PsrHttpMessage\Tests\Fixtures

Code

public function withoutHeader($name) {
  throw new \BadMethodCallException('Not implemented.');
}