1 | <?php |
||
6 | class Routes |
||
7 | { |
||
8 | /** |
||
9 | * Load one or more routes files. |
||
10 | * |
||
11 | * ### Usage |
||
12 | * |
||
13 | * Loading one file: |
||
14 | * |
||
15 | * ``` |
||
16 | * Routes::load('base'); |
||
17 | * ``` |
||
18 | * |
||
19 | * Loading many files at once: |
||
20 | * |
||
21 | * ``` |
||
22 | * Routes::load(['base', 'blog', 'admin']); |
||
23 | * ``` |
||
24 | * |
||
25 | * @param string|array $files The file(s) to load. |
||
26 | * |
||
27 | * @return void |
||
28 | */ |
||
29 | public static function load($files = []) |
||
47 | } |
||
48 |