src/SidebarManager.php
public function register($name)
    {
        if (class_exists($name)) {
            $this->sidebars[] = $name;
        } else {
            throw new LogicException('Sidebar [' . $name . '] does not exist');
        }

        return $this;
    }
public function register($name)
    {
        if (class_exists($name)) {
            $this->sidebars[] = $name;
        } else {
            throw new LogicException('Sidebar [' . $name . '] does not exist');
        }

        return $this;
    }
public function register ( $ name ) { if ( class_exists ( $ name ) ) { $ this -> sidebars [ ] = $ name ; } else { throw new LogicException ( 'Sidebar [' . $ name . '] does not exist' ) ; } return $ this ; }
Register the sidebar

@param $name

@throws LogicException
@return $this
Register the sidebar