Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
10 | class Sf2Yaml implements ParserInterface |
||
11 | { |
||
12 | /** |
||
13 | * @return bool |
||
14 | */ |
||
15 | 1 | public static function isAvailable() |
|
16 | { |
||
17 | 1 | return true; |
|
18 | } |
||
19 | |||
20 | /** |
||
21 | * @param string $path |
||
22 | * @return null|array |
||
23 | */ |
||
24 | 3 | public function parseFile($path) |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param string $buffer |
||
31 | * @return null|array |
||
32 | */ |
||
33 | 3 | public function parseBuffer($buffer) |
|
49 |