| 1 | <?php |
||
| 6 | class Declaration |
||
| 7 | { |
||
| 8 | /** @var string[] */ |
||
| 9 | public $properties = []; |
||
| 10 | |||
| 11 | /** @var \PhpParser\Node\Stmt\ClassMethod[] */ |
||
| 12 | public $methods = []; |
||
| 13 | |||
| 14 | /** @var bool */ |
||
| 15 | public $hasConstructor; |
||
| 16 | |||
| 17 | public static function create(array $properties, array $methods, bool $hasConstructor): Declaration |
||
| 26 | |||
| 27 | protected function __construct() |
||
| 30 | } |