OpenSwoole\Core\Psr\ServerRequest->withAttribute

Latest version: pecl install openswoole-26.2.0 | composer require openswoole/core:26.2.0

Declaration

<?php OpenSwoole\Core\Psr\ServerRequest->withAttribute($name, $value)

Parameters

name

The attribute name.

value

The value of the attribute.

Return

Description

Set request attribute.

Last updated on September 23, 2022