Метод | Описание | |
---|---|---|
getAttribute ( Psr\Http\Message\ServerRequestInterface $request, string $name, mixed | null $default = null ) : mixed | null | Retrieves an attribute from the request. | |
hasAttribute ( Psr\Http\Message\ServerRequestInterface $request, string $name ) : boolean | Check whether an attribute exists. | |
setAttribute ( Psr\Http\Message\ServerRequestInterface $request, string $name, mixed $value ) : Psr\Http\Message\ServerRequestInterface | Store an attribute in the request. |