| Conditions | 4 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function match($data) |
||
| 32 | { |
||
| 33 | $result = preg_match_all($this->getPattern(), $data, $matches, PREG_SET_ORDER); |
||
| 34 | if ($result === false || $result === 0) { |
||
| 35 | return false; |
||
| 36 | } |
||
| 37 | |||
| 38 | $results = array(); |
||
| 39 | foreach ($matches as $match) { |
||
| 40 | $results[] = $this->processMatch($match); |
||
| 41 | } |
||
| 42 | |||
| 43 | return $results; |
||
| 44 | } |
||
| 45 | |||
| 79 |