WordPress\AiClientDependencies\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.
Метод класса: ServerRequestInterface{}
Хуков нет.
Возвращает
static.
Использование
$ServerRequestInterface = new ServerRequestInterface(); $ServerRequestInterface->withoutAttribute( $name ): ServerRequestInterface;
- $name(строка) (обязательный)
- The attribute name.
Заметки
| Смотрите: getAttributes() |
Код ServerRequestInterface::withoutAttribute() ServerRequestInterface::withoutAttribute WP 7.1.2
public function withoutAttribute(string $name): ServerRequestInterface;