Файл: system/vendor/nikic/fast-route/test/HackTypechecker/fixtures/all_options.php
Строк: 19
<?hh
namespace FastRouteTestFixtures;
function all_options_simple(): FastRouteDispatcher {
return FastRoutesimpleDispatcher(
$collector ==> {},
shape(
'routeParser' => FastRouteRouteParserStd::class,
'dataGenerator' => FastRouteDataGeneratorGroupCountBased::class,
'dispatcher' => FastRouteDispatcherGroupCountBased::class,
'routeCollector' => FastRouteRouteCollector::class,
),
);
}
function all_options_cached(): FastRouteDispatcher {
return FastRoutecachedDispatcher(
$collector ==> {},
shape(
'routeParser' => FastRouteRouteParserStd::class,
'dataGenerator' => FastRouteDataGeneratorGroupCountBased::class,
'dispatcher' => FastRouteDispatcherGroupCountBased::class,
'routeCollector' => FastRouteRouteCollector::class,
'cacheFile' => '/dev/null',
'cacheDisabled' => false,
),
);
}