Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
25 | public static function missingHost($path) |
||
26 | { |
||
27 | $msg = sprintf( |
||
28 | 'Path "%s" cannot be invalidated without a host. ' |
||
29 | .'Either invalidate with absolute URLs including the host name ' |
||
30 | .'or configure the base URI on the HttpDispatcher.', |
||
31 | $path |
||
32 | ); |
||
33 | |||
34 | return new self($msg); |
||
35 | } |
||
36 | } |
||
37 |