OpenSwoole\Core\Psr\ServerRequest->withAttribute

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

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