Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class Definition |
||
18 | { |
||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $name; |
||
23 | |||
24 | /** |
||
25 | * @var DefinitionProperty[] |
||
26 | */ |
||
27 | private $properties; |
||
28 | |||
29 | /** |
||
30 | * @param string $name |
||
31 | * @param array $properties |
||
32 | */ |
||
33 | public function __construct($name, array $properties) |
||
34 | { |
||
35 | $this->name = $name; |
||
36 | $this->properties = $properties; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getName() |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @return DefinitionProperty[] |
||
49 | */ |
||
50 | public function getProperties() |
||
55 |