1 | <?php |
||
14 | trait ParentNodeTrait |
||
15 | { |
||
16 | /** |
||
17 | * @var NodeCollection|ChildNodeInterface[] |
||
18 | */ |
||
19 | protected $collection; |
||
20 | |||
21 | /** |
||
22 | * Returns default child components. |
||
23 | * |
||
24 | * Override this method if you need. |
||
25 | * |
||
26 | * @return ChildNodeInterface[] |
||
27 | */ |
||
28 | protected function defaultChildren() |
||
32 | |||
33 | /** |
||
34 | * @param array $items |
||
35 | */ |
||
36 | protected function initializeCollection(array $items) |
||
44 | |||
45 | /** |
||
46 | * Returns child components. |
||
47 | * |
||
48 | * @return \Nayjest\Collection\CollectionInterface |
||
49 | */ |
||
50 | public function children() |
||
58 | |||
59 | /** |
||
60 | * @return bool |
||
61 | */ |
||
62 | final public function isWritable() |
||
66 | |||
67 | /** |
||
68 | * @return ObjectCollection |
||
69 | */ |
||
70 | public function getChildrenRecursive() |
||
82 | |||
83 | /** |
||
84 | * @param array|Traversable $children |
||
85 | * |
||
86 | * @return $this |
||
87 | */ |
||
88 | public function setChildren($children) |
||
94 | |||
95 | /** |
||
96 | * @param $item |
||
97 | * |
||
98 | * @return $this |
||
99 | */ |
||
100 | public function addChild(ChildNodeInterface $item) |
||
106 | |||
107 | /** |
||
108 | * @param array|Traversable $children |
||
109 | * |
||
110 | * @return $this |
||
111 | */ |
||
112 | public function addChildren($children) |
||
118 | |||
119 | public function __wakeup() |
||
134 | } |
||
135 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.