public function boot($sidebar)
    {
        $this->sidebar = $sidebar;

        $this->hook->action(
            'widgets_init',
            [$this->sidebar, 'register']
        )->dispatch();
    }
public function boot($sidebar)
    {
        $this->sidebar = $sidebar;

        $this->hook->action(
            'widgets_init',
            [$this->sidebar, 'register']
        )->dispatch();
    }
public function boot ( $ sidebar ) { $ this -> sidebar = $ sidebar ; $ this -> hook -> action ( 'widgets_init' , [ $ this -> sidebar , 'register' ] ) -> dispatch ( ) ; }
Bootstrap sidebar manager.

@param \Assely\Sidebar\Sidebar $sidebar

@return void
Bootstrap sidebar manager .