OpenSwoole\Core\Psr\ServerRequest->withAttribute

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

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