public function site(): \TheCMSThread\Core\Main\Site
    {
        static $site;
        if ($site === null) {
            $site = $this->container->get("TheCMSThread\\Core\\Main\\Site");
        }
        return $site;
    }
public function site(): \TheCMSThread\Core\Main\Site
    {
        static $site;
        if ($site === null) {
            $site = $this->container->get("TheCMSThread\\Core\\Main\\Site");
        }
        return $site;
    }
public function site ( ) : \ TheCMSThread \ Core \ Main \ Site { static $ site ; if ( $ site === null ) { $ site = $ this -> container -> get ( "TheCMSThread\\Core\\Main\\Site" ) ; } return $ site ; }
Returns the site object.

@return  TheCMSThread\Core\Main\Site
Returns the site object .