public function setScheme($scheme)
    {
        $this->scheme = strtolower((string) $scheme);

        $this->ssl = ($this->scheme === 'https');

        return $this;
    }
public function setScheme($scheme)
    {
        $this->scheme = strtolower((string) $scheme);

        $this->ssl = ($this->scheme === 'https');

        return $this;
    }
public function setScheme ( $ scheme ) { $ this -> scheme = strtolower ( ( string ) $ scheme ) ; $ this -> ssl = ( $ this -> scheme === 'https' ) ; return $ this ; }
Method to set property scheme

@param   string $scheme

@return  static  Return self to support chaining.
Method to set property scheme