1 | <?php |
||
18 | class GraphBuilder |
||
19 | { |
||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | private $eventLayout = array(); |
||
24 | |||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | private $stateLayout = array(); |
||
29 | |||
30 | /** |
||
31 | * @var \SplObjectStorage |
||
32 | */ |
||
33 | private $layoutCallback; |
||
34 | |||
35 | /** |
||
36 | * @var Graph |
||
37 | */ |
||
38 | private $graph; |
||
39 | |||
40 | /** |
||
41 | * @var StringConverterInterface |
||
42 | */ |
||
43 | private $stringConverter; |
||
44 | |||
45 | /** |
||
46 | * @param Graph $graph |
||
47 | * @param StringConverterInterface $stringConverter |
||
48 | */ |
||
49 | 1 | public function __construct(Graph $graph, StringConverterInterface $stringConverter = null) |
|
59 | |||
60 | /** |
||
61 | * @link http://www.graphviz.org/doc/info/attrs.html |
||
62 | * |
||
63 | * @param string $flag |
||
64 | * @param scalar $value |
||
65 | * @param array $layout |
||
66 | */ |
||
67 | public function setEventLayout($flag, $value, array $layout) |
||
72 | |||
73 | /** |
||
74 | * @link http://www.graphviz.org/doc/info/attrs.html |
||
75 | * |
||
76 | * @param string $flag |
||
77 | * @param scalar $value |
||
78 | * @param array $layout |
||
79 | */ |
||
80 | public function setStateLayout($flag, $value, array $layout) |
||
85 | |||
86 | /** |
||
87 | * @param Callback $callback |
||
88 | */ |
||
89 | public function attachLayoutCallback(Callback $callback) |
||
93 | |||
94 | /** |
||
95 | * @param Callback $callback |
||
96 | */ |
||
97 | public function detachLayoutCallback(Callback $callback) |
||
101 | |||
102 | /** |
||
103 | * @param \ArrayAccess $flaggedObject |
||
104 | * @param array $layout |
||
105 | * |
||
106 | * @return array |
||
107 | */ |
||
108 | 1 | protected function getLayoutOptions(\ArrayAccess $flaggedObject, array $layout) |
|
128 | |||
129 | /** |
||
130 | * @param StateInterface $state |
||
131 | * |
||
132 | * @return \Fhaculty\Graph\Vertex |
||
133 | */ |
||
134 | 1 | public function createStatusVertex(StateInterface $state) |
|
151 | |||
152 | /** |
||
153 | * @param EventInterface $event |
||
154 | * |
||
155 | * @return string |
||
156 | */ |
||
157 | protected function convertObserverToString(EventInterface $event) |
||
166 | |||
167 | /** |
||
168 | * @param TransitionInterface $transition |
||
169 | * |
||
170 | * @return string |
||
171 | */ |
||
172 | 1 | protected function getTransitionLabel(StateInterface $state, TransitionInterface $transition) |
|
196 | |||
197 | /** |
||
198 | * @param StateInterface $state |
||
199 | * @param TransitionInterface $transition |
||
200 | */ |
||
201 | 1 | protected function addTransition(StateInterface $state, TransitionInterface $transition) |
|
230 | |||
231 | /** |
||
232 | * @param StateInterface $state |
||
233 | */ |
||
234 | 1 | public function addState(StateInterface $state) |
|
242 | |||
243 | /** |
||
244 | * @param \Traversable $states |
||
245 | */ |
||
246 | 1 | public function addStates(\Traversable $states) |
|
252 | |||
253 | /** |
||
254 | * @param StateCollectionInterface $stateCollection |
||
255 | */ |
||
256 | 1 | public function addStateCollection(StateCollectionInterface $stateCollection) |
|
260 | |||
261 | /** |
||
262 | * @return \Fhaculty\Graph\Graph |
||
263 | */ |
||
264 | public function getGraph() |
||
268 | } |
||
269 |
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.