protected function __construct(array $message) { parent::__construct($message); $this->lat = $message['location']['latitude']; $this->lng = $message['location']['longitude']; }