AppserverIo\Appserver\ServletEngine\Http\Request::setAttribute PHP Метод

setAttribute() публичный Метод

Adds the attribute with the passed name to this context.
public setAttribute ( string $key, mixed $value ) : void
$key string The key to add the value with
$value mixed The value to add to the context
Результат void
    public function setAttribute($key, $value)
    {
        $this->attributes[$key] = $value;
    }