1 | <?php namespace Cornford\Googlmapper\Models; |
||
6 | class Map implements ModelingInterface { |
||
7 | |||
8 | /** |
||
9 | * Options. |
||
10 | * |
||
11 | * @var array |
||
12 | */ |
||
13 | protected $options = []; |
||
14 | |||
15 | /** |
||
16 | * Markers. |
||
17 | * |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $markers = []; |
||
21 | |||
22 | /** |
||
23 | * Shapes. |
||
24 | * |
||
25 | * @var array |
||
26 | */ |
||
27 | protected $shapes = []; |
||
28 | |||
29 | /** |
||
30 | * Public constructor. |
||
31 | * |
||
32 | * @param array $parameters |
||
33 | */ |
||
34 | public function __construct(array $parameters = []) |
||
42 | |||
43 | /** |
||
44 | * Add a map marker to the markers bag. |
||
45 | * |
||
46 | * @param float $latitude |
||
47 | * @param float $longitude |
||
48 | * @param array $options |
||
49 | * |
||
50 | * @return void |
||
51 | */ |
||
52 | public function marker($latitude, $longitude, array $options = []) |
||
67 | |||
68 | /** |
||
69 | * Add a map shape to the shapes bag. |
||
70 | * |
||
71 | * @param string $type |
||
72 | * @param array $coordinates |
||
73 | * @param array $options |
||
74 | * |
||
75 | * @return void |
||
76 | */ |
||
77 | public function shape($type, $coordinates, array $options = []) |
||
105 | |||
106 | /** |
||
107 | * Render the model item. |
||
108 | * |
||
109 | * @param integer $identifier |
||
110 | * @param View $view |
||
111 | * |
||
112 | * @return string |
||
113 | */ |
||
114 | public function render($identifier, View $view) |
||
126 | |||
127 | /** |
||
128 | * Return marker items. |
||
129 | * |
||
130 | * @return array |
||
131 | */ |
||
132 | public function getMarkers() |
||
136 | |||
137 | /** |
||
138 | * Return shape items. |
||
139 | * |
||
140 | * @return array |
||
141 | */ |
||
142 | public function getShapes() |
||
146 | |||
147 | /** |
||
148 | * Get the model options. |
||
149 | * |
||
150 | * @return array |
||
151 | */ |
||
152 | public function getOptions() |
||
156 | } |
||
157 |
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.