WordPress\AiClientDependencies\Psr\Http\Message

ServerRequestInterface::withoutAttribute │ public │ WP 1.0

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.

Метод класса: ServerRequestInterface{}

Хуков нет.

Возвращает

static.

Использование

$ServerRequestInterface = new ServerRequestInterface();
$ServerRequestInterface->withoutAttribute( $name ): ServerRequestInterface;
$name(строка) (обязательный)
The attribute name.

Заметки

Смотрите: getAttributes()

Код ServerRequestInterface::withoutAttribute() WP 7.1.2

public function withoutAttribute(string $name): ServerRequestInterface;