1 | <?php |
||
25 | final class HighchartsNavigation implements JsonSerializable { |
||
26 | |||
27 | /** |
||
28 | * Button options. |
||
29 | * |
||
30 | * @var \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions |
||
31 | */ |
||
32 | private $buttonOptions; |
||
33 | |||
34 | /** |
||
35 | * Menu item hover style. |
||
36 | * |
||
37 | * @var array |
||
38 | * @since 2.0 |
||
39 | */ |
||
40 | private $menuItemHoverStyle = ["background" => "#335cad", "color" => "#ffffff"]; |
||
41 | |||
42 | /** |
||
43 | * Menu item style. |
||
44 | * |
||
45 | * @var array |
||
46 | * @since 2.0 |
||
47 | */ |
||
48 | private $menuItemStyle = ["padding" => "0.5em 1em", "color" => "#333333", "background" => "none"]; |
||
49 | |||
50 | /** |
||
51 | * Menu style. |
||
52 | * |
||
53 | * @var array |
||
54 | * @since 2.0 |
||
55 | */ |
||
56 | private $menuStyle = ["border" => "1px solid #999999", "background" => "#ffffff", "padding" => "5px 0"]; |
||
57 | |||
58 | /** |
||
59 | * Constructor. |
||
60 | * |
||
61 | * @param boolean $ignoreDefaultValues Ignore the default values. |
||
62 | */ |
||
63 | public function __construct($ignoreDefaultValues = true) { |
||
68 | |||
69 | /** |
||
70 | * Clear. |
||
71 | * |
||
72 | * @return void |
||
73 | */ |
||
74 | public function clear() { |
||
90 | |||
91 | /** |
||
92 | * Get the button options. |
||
93 | * |
||
94 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the button options. |
||
95 | */ |
||
96 | public function getButtonOptions() { |
||
99 | |||
100 | /** |
||
101 | * Get the menu item hover style. |
||
102 | * |
||
103 | * @return array Returns the menu item hover style. |
||
104 | */ |
||
105 | public function getMenuItemHoverStyle() { |
||
108 | |||
109 | /** |
||
110 | * Get the menu item style. |
||
111 | * |
||
112 | * @return array Returns the menu item style. |
||
113 | */ |
||
114 | public function getMenuItemStyle() { |
||
117 | |||
118 | /** |
||
119 | * Get the menu style. |
||
120 | * |
||
121 | * @return array Returns the menu style. |
||
122 | */ |
||
123 | public function getMenuStyle() { |
||
126 | |||
127 | /** |
||
128 | * Serialize this instance. |
||
129 | * |
||
130 | * @return array Returns an array representing this instance. |
||
131 | */ |
||
132 | public function jsonSerialize() { |
||
135 | |||
136 | /** |
||
137 | * Create a new button options. |
||
138 | * |
||
139 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions Returns the button options. |
||
140 | */ |
||
141 | public function newButtonOptions() { |
||
145 | |||
146 | /** |
||
147 | * Set the button options. |
||
148 | * |
||
149 | * @param \WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions $buttonOptions The button options. |
||
150 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsNavigation Returns the highcharts navigation. |
||
151 | */ |
||
152 | public function setButtonOptions(\WBW\Bundle\HighchartsBundle\API\Chart\Navigation\HighchartsButtonOptions $buttonOptions = null) { |
||
156 | |||
157 | /** |
||
158 | * Set the menu item hover style. |
||
159 | * |
||
160 | * @param array $menuItemHoverStyle The menu item hover style. |
||
161 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsNavigation Returns the highcharts navigation. |
||
162 | */ |
||
163 | public function setMenuItemHoverStyle(array $menuItemHoverStyle = null) { |
||
167 | |||
168 | /** |
||
169 | * Set the menu item style. |
||
170 | * |
||
171 | * @param array $menuItemStyle The menu item style. |
||
172 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsNavigation Returns the highcharts navigation. |
||
173 | */ |
||
174 | public function setMenuItemStyle(array $menuItemStyle = null) { |
||
178 | |||
179 | /** |
||
180 | * Set the menu style. |
||
181 | * |
||
182 | * @param array $menuStyle The menu style. |
||
183 | * @return \WBW\Bundle\HighchartsBundle\API\Chart\HighchartsNavigation Returns the highcharts navigation. |
||
184 | */ |
||
185 | public function setMenuStyle(array $menuStyle = null) { |
||
189 | |||
190 | /** |
||
191 | * Convert into an array representing this instance. |
||
192 | * |
||
193 | * @return array Returns an array representing this instance. |
||
194 | */ |
||
195 | public function toArray() { |
||
217 | |||
218 | } |
||
219 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..