Timber\Site::init_as_multisite PHP Метод

init_as_multisite() защищенный Метод

protected init_as_multisite ( integer $site_id )
$site_id integer
    protected function init_as_multisite($site_id)
    {
        $info = get_blog_details($site_id);
        $this->import($info);
        $this->ID = $info->blog_id;
        $this->id = $this->ID;
        $this->name = $this->blogname;
        $this->title = $this->blogname;
        $theme_slug = get_blog_option($info->blog_id, 'stylesheet');
        $this->theme = new Theme($theme_slug);
        $this->description = get_blog_option($info->blog_id, 'blogdescription');
        $this->admin_email = get_blog_option($info->blog_id, 'admin_email');
        $this->multisite = true;
    }