| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | protected function parseMatches(array $matches) |
||
| 11 | { |
||
| 12 | if (count($matches) > 1) { |
||
| 13 | |||
| 14 | // Get the last match on array, which contains the |
||
| 15 | // formatter options. |
||
| 16 | $formatter = last($matches); |
||
| 17 | |||
| 18 | return $this->callFormatter(...explode(':', $formatter)); |
||
|
|
|||
| 19 | } |
||
| 20 | |||
| 21 | return false; |
||
| 22 | } |
||
| 31 | } |