1 | <?php |
||
27 | class Tree extends ObjectAbstract |
||
28 | { |
||
29 | /** |
||
30 | * node splitter |
||
31 | * |
||
32 | * @var string |
||
33 | * @access protected |
||
34 | */ |
||
35 | protected $splitter = '.'; |
||
36 | |||
37 | /** |
||
38 | * the result tree |
||
39 | * |
||
40 | * @var array |
||
41 | * @access protected |
||
42 | */ |
||
43 | protected $tree; |
||
44 | |||
45 | /** |
||
46 | * construct a tree |
||
47 | * |
||
48 | * @param array $data |
||
49 | * @param string $splitter |
||
50 | * @access public |
||
51 | */ |
||
52 | public function __construct(array $data, /*# string */ $splitter = '.') |
||
57 | |||
58 | /** |
||
59 | * return the whole tree |
||
60 | * |
||
61 | * @return array |
||
62 | * @access public |
||
63 | */ |
||
64 | public function getTree()/*# : array */ |
||
68 | |||
69 | /** |
||
70 | * Get one node, NULL if not found |
||
71 | * |
||
72 | * @param string $nodeName |
||
73 | * @return mixed |
||
74 | * @access public |
||
75 | */ |
||
76 | public function getNode(/*# string */ $nodeName) |
||
81 | |||
82 | /** |
||
83 | * Fix array, convert flat name to tree node name |
||
84 | * |
||
85 | * @param array $data |
||
86 | * @return array |
||
87 | * @access protected |
||
88 | */ |
||
89 | protected function fixTree(array $data)/*# : array */ |
||
98 | |||
99 | /** |
||
100 | * Search a node in the $data |
||
101 | * |
||
102 | * @param string $key |
||
103 | * @param array &$data |
||
104 | * @param bool $create create the node if not exist |
||
105 | * @access protected |
||
106 | */ |
||
107 | protected function &searchNode( |
||
126 | } |
||
127 |
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.