19declare(strict_types=1);
38 ?
$http->wrapper()->query()->retrieve(
44 $target_parts = explode(
'_', (
string)
$target);
45 if (isset($target_parts[0]) && array_key_exists($target_parts[0], $handlers)) {
57 $path =
$http->request()->getUri()->getPath();
67 $target_parts = explode(
'/', $path);
68 if (isset($target_parts[0]) && array_key_exists($target_parts[0], $handlers)) {
72 if (isset($target_parts[1]) && is_numeric($target_parts[1])) {
74 $target = $target_parts[2] ??
'';
76 $target = $target_parts[1] ??
'';
buildRequest(GlobalHttpState $http, Factory $refinery, array $handlers)
Interface GlobalHttpState.
readonly HttpService $http