protected function make($slug, $arguments = [])
    {
        $sidebar = $this->container->make(Sidebar::class);

        $sidebar
            ->setSlug($slug)
            ->setArguments($arguments)
            ->boot();

        return $this->hang($sidebar);
    }
protected function make($slug, $arguments = [])
    {
        $sidebar = $this->container->make(Sidebar::class);

        $sidebar
            ->setSlug($slug)
            ->setArguments($arguments)
            ->boot();

        return $this->hang($sidebar);
    }
protected function make ( $ slug , $ arguments = [ ] ) { $ sidebar = $ this -> container -> make ( Sidebar :: class ) ; $ sidebar -> setSlug ( $ slug ) -> setArguments ( $ arguments ) -> boot ( ) ; return $ this -> hang ( $ sidebar ) ; }
Make sidebar.

@param string $slug
@param array $argumetns

@return \Assely\Sidebar\Sidebar
Make sidebar .