protected function get($name)
    {
        if (isset($this->site[$name])) {
            return $this->site[$name];
        }

        throw new Exception("The property $name could not be found on the website ID " . (int)$this->id);
    }
protected function get($name)
    {
        if (isset($this->site[$name])) {
            return $this->site[$name];
        }

        throw new Exception("The property $name could not be found on the website ID " . (int)$this->id);
    }
protected function get ( $ name ) { if ( isset ( $ this -> site [ $ name ] ) ) { return $ this -> site [ $ name ] ; } throw new Exception ( "The property $name could not be found on the website ID " . ( int ) $ this -> id ) ; }
Returns a site property by name.

@param string $name Name of the property to return (eg, `'main_url'` or `'name'`).
@return mixed
@throws Exception
Returns a site property by name .