src/Url.php
public function getScheme() : string
   {

      if ( null === $this->scheme )
      {
         $this->scheme = static::$fallbackScheme;
      }

      return $this->scheme;

   }
public function getScheme() : string
   {

      if ( null === $this->scheme )
      {
         $this->scheme = static::$fallbackScheme;
      }

      return $this->scheme;

   }
public function getScheme ( ) : string { if ( null === $ this -> scheme ) { $ this -> scheme = static :: $ fallbackScheme ; } return $ this -> scheme ; }
Gets the URL scheme. Default is 'http'

@return string
Gets the URL scheme . Default is http