| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 60 | public function message() |
||
| 61 | { |
||
| 62 | $message = 'The :attribute does not satisfy the RFC 7946 GeoJSON Format specification'; |
||
| 63 | if (!empty($this->exception)) { |
||
| 64 | $message .= ' because ' . $this->exception->getMessage(); |
||
| 65 | } elseif (!empty($this->geometryClass)) { |
||
| 66 | $message .= ' for ' . basename(str_replace('\\', '/', $this->geometryClass)); |
||
| 67 | } |
||
| 68 | return $message; |
||
| 69 | } |
||
| 71 |