1 | <?php |
||
19 | class Php implements ParserInterface |
||
20 | { |
||
21 | /** |
||
22 | * {@inheritDoc} |
||
23 | * Loads a PHP file and gets its' contents as an array |
||
24 | * |
||
25 | * @throws ParseException If the PHP file throws an exception |
||
26 | * @throws UnsupportedFormatException If the PHP file does not return an array |
||
27 | */ |
||
28 | 12 | public function parseFile($filename) |
|
46 | |||
47 | /** |
||
48 | * {@inheritDoc} |
||
49 | * Loads a PHP string and gets its' contents as an array |
||
50 | * |
||
51 | * @throws ParseException If the PHP string throws an exception |
||
52 | * @throws UnsupportedFormatException If the PHP string does not return an array |
||
53 | 9 | */ |
|
54 | public function parseString($config) |
||
78 | |||
79 | /** |
||
80 | * Completes parsing of PHP data |
||
81 | * |
||
82 | * @param array $data |
||
83 | * @param string $filename |
||
84 | * |
||
85 | 9 | * @return array|null |
|
86 | * @throws UnsupportedFormatException |
||
87 | */ |
||
88 | 9 | protected function parse($data = null, $filename = null) |
|
102 | |||
103 | 3 | /** |
|
104 | * Runs PHP string in isolated method |
||
105 | 3 | * |
|
106 | * @param string $EGsfKPdue7ahnMTy |
||
107 | * |
||
108 | * @return array |
||
109 | */ |
||
110 | protected function isolate($EGsfKPdue7ahnMTy) |
||
114 | |||
115 | /** |
||
116 | * {@inheritDoc} |
||
117 | */ |
||
118 | public static function getSupportedExtensions() |
||
122 | } |
||
123 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.