Метод |
Описание |
|
__construct ( integer | null $version = null ) |
Constructor. Set the version of UUID. |
|
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface |
Execute the middleware. |
|
getUuid ( Psr\Http\Message\ServerRequestInterface $request ) : Ramsey\Uuid\Uuid | null |
Returns the Uuid instance. |
|
header ( false | string $header ) : self |
Set whether the Uuid is stored in the header. |
|
version ( integer $version ) : self |
Choose the Uuid version. |
|