Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
Crud | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
6 | |
0.00% |
0 / 1 |
routes | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
6 |
1 | <?php |
2 | |
3 | namespace San\Crud; |
4 | |
5 | class Crud { |
6 | public static function routes() { |
7 | $routeDir = base_path("routes/crud"); |
8 | |
9 | foreach (glob("$routeDir/*.php") as $file) { |
10 | require $file; |
11 | } |
12 | } |
13 | } |