1 | <?php |
||
6 | class Structure |
||
7 | { |
||
8 | /** @var string[] */ |
||
9 | public $properties = []; |
||
10 | |||
11 | /** @var string[] */ |
||
12 | public $constants = []; |
||
13 | |||
14 | /** @var \PhpParser\Node\Stmt\ClassMethod[] */ |
||
15 | public $methods = []; |
||
16 | |||
17 | /** @var bool */ |
||
18 | public $hasClone; |
||
19 | |||
20 | public static function create(array $constants, array $properties, array $methods, bool $hasClone): Structure |
||
30 | |||
31 | public function methodNames(): array |
||
40 | |||
41 | protected function __construct() |
||
44 | } |