Total Complexity | 8 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class Parser extends ParserBase |
||
13 | { |
||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | 22 | public function parse($text, array $matches) |
|
36 | } |
||
37 | } |
||
38 | } |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Test whether given word is allowed |
||
43 | * |
||
44 | * @param string $word |
||
45 | * @return bool |
||
46 | */ |
||
47 | 22 | protected function isAllowed($word) |
|
50 | } |
||
51 | } |