| Total Complexity | 3 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class GeneratorParser extends AbstractGenerator implements GeneratorInterface |
||
| 20 | { |
||
| 21 | const OUTPUT_PATH = 'src/Parser/Parser/Parser%s.php'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var array |
||
| 25 | */ |
||
| 26 | private $properties = []; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $name |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function generateClass($name) |
||
| 41 | ); |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param DefinitionProperty $property |
||
| 46 | */ |
||
| 47 | public function addProperty(DefinitionProperty $property) |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $name |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getOutputPath($name) |
||
| 61 |