File: empty_options.php

package info (click to toggle)
php-nikic-fast-route 1.3.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 440 kB
  • sloc: php: 1,306; xml: 36; makefile: 13; sh: 7
file content (11 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
<?hh

namespace FastRoute\TestFixtures;

function empty_options_simple(): \FastRoute\Dispatcher {
    return \FastRoute\simpleDispatcher($collector ==> {}, shape());
}

function empty_options_cached(): \FastRoute\Dispatcher {
    return \FastRoute\cachedDispatcher($collector ==> {}, shape());
}