| 1 | <?php |
||
| 16 | class ConstantGenerator extends AbstractGenerator |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @param string $name |
||
| 20 | * @return $this |
||
| 21 | */ |
||
| 22 | public function setName($name) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $value |
||
| 31 | * @return $this |
||
| 32 | */ |
||
| 33 | public function setValue($value) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @throws InvalidArgumentException|RuntimeException |
||
| 46 | * @return string |
||
| 47 | * @todo implement exception throwing if mandatory parameter is missing |
||
| 48 | */ |
||
| 49 | public function generate() |
||
| 69 | } |