| 1 | <?php |
||
| 10 | class PropertyInitializationTemplate implements TemplateInterface |
||
| 11 | { |
||
| 12 | private const TEMPLATE = ' |
||
| 13 | unset(%s%s); |
||
| 14 | '; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param \Reflector|\ReflectionProperty $property |
||
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | 5 | public static function generate(\Reflector $property): string |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param \ReflectionProperty $property |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | 5 | protected static function doGenerate(\ReflectionProperty $property): string |
|
| 41 | } |
||
| 42 |