jeyroik / extas-http
There is no license information available for the latest version (0.1.2) of this package.
HTTP package for Extas
0.1.2
2020-08-24 14:01 UTC
Requires
- jeyroik/extas-foundation: 5.*
- jeyroik/extas-protocols: 3.*
- slim/psr7: ^1.1
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-24 23:14:11 UTC
README
Описание
HTTP package for Extas.
Использование
use extas\components\Item; use extas\interfaces\http\IHasPsrRequest; /** * @var \Psr\Http\Message\RequestInterface $request */ $item = new class ([ IHasHttpRequest::FIELD__PSR_REQUEST => $request ]) extends Item { use \extas\components\http\THasPsrRequest; protected function getSubjectForExtension() : string{ return ''; } }; $item->getPsrRequest();