private function forceHTTPSScheme($url)
    {
        if(env('FORCE_HTTPS_SCHEME')) {
            $url->formatScheme('https');
            $this->app['request']->server->set('HTTPS', true);
        }
    }
private function forceHTTPSScheme($url)
    {
        if(env('FORCE_HTTPS_SCHEME')) {
            $url->formatScheme('https');
            $this->app['request']->server->set('HTTPS', true);
        }
    }
private function forceHTTPSScheme ( $ url ) { if ( env ( 'FORCE_HTTPS_SCHEME' ) ) { $ url -> formatScheme ( 'https' ) ; $ this -> app [ 'request' ] -> server -> set ( 'HTTPS' , true ) ; } }
Format https scheme

@param $url
Format https scheme