public function getLatestVersion() { if ($this->hasRemoteData()) { return data_get($this->remoteData, 'latest_release.version'); } return null; }