1 | <?php |
||
8 | class Map implements ModelingInterface |
||
9 | { |
||
10 | public const SHAPE_POLYLINE = 'polyline'; |
||
11 | public const SHAPE_POLYGON = 'polygon'; |
||
12 | public const SHAPE_RECTANGLE = 'rectangle'; |
||
13 | public const SHAPE_CIRCLE = 'circle'; |
||
14 | |||
15 | /** |
||
16 | * Options. |
||
17 | * |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $options = []; |
||
21 | |||
22 | /** |
||
23 | * Markers. |
||
24 | * |
||
25 | * @var array |
||
26 | */ |
||
27 | protected $markers = []; |
||
28 | |||
29 | /** |
||
30 | * Shapes. |
||
31 | * |
||
32 | * @var array |
||
33 | */ |
||
34 | protected $shapes = []; |
||
35 | |||
36 | /** |
||
37 | * Public constructor. |
||
38 | * |
||
39 | * @param array $parameters |
||
40 | */ |
||
41 | public function __construct(array $parameters = []) |
||
49 | |||
50 | /** |
||
51 | * Add a map marker to the markers bag. |
||
52 | * |
||
53 | * @param float $latitude |
||
54 | * @param float $longitude |
||
55 | * @param array $options |
||
56 | * |
||
57 | * @return void |
||
58 | */ |
||
59 | public function marker($latitude, $longitude, array $options = []) |
||
74 | |||
75 | /** |
||
76 | * Add a map shape to the shapes bag. |
||
77 | * |
||
78 | * @param string $type |
||
79 | * @param array $coordinates |
||
80 | * @param array $options |
||
81 | * |
||
82 | * @return void |
||
83 | */ |
||
84 | public function shape($type, $coordinates, array $options = []) |
||
111 | |||
112 | /** |
||
113 | * Render the model item. |
||
114 | * |
||
115 | * @param int $identifier |
||
116 | * @param View $view |
||
117 | * |
||
118 | * @return string |
||
119 | */ |
||
120 | public function render($identifier, View $view) |
||
132 | |||
133 | /** |
||
134 | * Return marker items. |
||
135 | * |
||
136 | * @return array |
||
137 | */ |
||
138 | public function getMarkers() |
||
142 | |||
143 | /** |
||
144 | * Return shape items. |
||
145 | * |
||
146 | * @return array |
||
147 | */ |
||
148 | public function getShapes() |
||
152 | |||
153 | /** |
||
154 | * Get the model options. |
||
155 | * |
||
156 | * @return array |
||
157 | */ |
||
158 | public function getOptions() |
||
162 | } |
||
163 |
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.