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