1 | <?php |
||
14 | class Channel |
||
15 | { |
||
16 | /** |
||
17 | * @Type("integer") |
||
18 | */ |
||
19 | private $id; |
||
20 | |||
21 | /** |
||
22 | * @Type("string") |
||
23 | */ |
||
24 | private $name; |
||
25 | |||
26 | /** |
||
27 | * @Type("ArrayCollection<MovingImage\Client\VMPro\Entity\Channel>") |
||
28 | */ |
||
29 | private $children; |
||
30 | |||
31 | /** |
||
32 | * @Type("MovingImage\Client\VMPro\Entity\Channel") |
||
33 | */ |
||
34 | private $parent = null; |
||
35 | |||
36 | /** |
||
37 | * @Type("integer") |
||
38 | * @SerializedName("parentId") |
||
39 | */ |
||
40 | private $parentId = null; |
||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getName() |
||
49 | |||
50 | /** |
||
51 | * @param string $name |
||
52 | * |
||
53 | * @return Channel |
||
54 | */ |
||
55 | public function setName($name) |
||
61 | |||
62 | /** |
||
63 | * @return int |
||
64 | */ |
||
65 | public function getId() |
||
69 | |||
70 | /** |
||
71 | * @param int $id |
||
72 | * |
||
73 | * @return Channel |
||
74 | */ |
||
75 | public function setId($id) |
||
81 | |||
82 | /** |
||
83 | * @return Channel |
||
84 | */ |
||
85 | public function getParent() |
||
89 | |||
90 | /** |
||
91 | * @param Channel $parent |
||
92 | * |
||
93 | * @return Channel |
||
94 | */ |
||
95 | public function setParent(Channel $parent) |
||
102 | |||
103 | public function setParentOnChildren() |
||
113 | |||
114 | /** |
||
115 | * @return int |
||
116 | */ |
||
117 | public function getParentId() |
||
121 | |||
122 | /** |
||
123 | * @param int $parentId |
||
124 | * |
||
125 | * @return Channel |
||
126 | */ |
||
127 | public function setParentId($parentId) |
||
133 | |||
134 | /** |
||
135 | * @return ArrayCollection<Channel> |
||
|
|||
136 | */ |
||
137 | public function getChildren() |
||
145 | |||
146 | /** |
||
147 | * @param ArrayCollection $children |
||
148 | * |
||
149 | * @return $this |
||
150 | */ |
||
151 | public function setChildren($children) |
||
157 | |||
158 | /** |
||
159 | * @param Channel $child |
||
160 | * |
||
161 | * @return Channel |
||
162 | */ |
||
163 | public function addChild(Channel $child) |
||
169 | } |
||
170 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.