public static function getSchemeAndHttpHost() { //Method inherited from \Symfony\Component\HttpFoundation\Request return \Illuminate\Http\Request::getSchemeAndHttpHost(); }
/** * @inheritdoc */ public function getConfig() { $config = config(C::NAME, []); /** @noinspection PhpUndefinedClassInspection */ $config[C::JSON][C::JSON_URL_PREFIX] = \Request::getSchemeAndHttpHost(); return $config; }