| 1 | <?php |
||
| 10 | class GeoCoordinatesUpdated extends PlaceEvent |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var Coordinates |
||
| 14 | */ |
||
| 15 | private $coordinates; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $itemId |
||
| 19 | * @param Coordinates $coordinates |
||
| 20 | */ |
||
| 21 | public function __construct($itemId, Coordinates $coordinates) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return Coordinates |
||
| 29 | */ |
||
| 30 | public function getCoordinates() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | public function serialize() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param array $data |
||
| 50 | * @return GeoCoordinatesUpdated |
||
| 51 | */ |
||
| 52 | public static function deserialize(array $data) |
||
| 62 | } |
||
| 63 |