src/SidebarManager.php
public function resolve()
    {
        foreach ($this->sidebars as $name) {
            $sidebar = $this->resolver->resolve($name);

            $this->container->singleton($name, function () use ($sidebar) {
                return $sidebar;
            });
        }
    }
public function resolve()
    {
        foreach ($this->sidebars as $name) {
            $sidebar = $this->resolver->resolve($name);

            $this->container->singleton($name, function () use ($sidebar) {
                return $sidebar;
            });
        }
    }
public function resolve ( ) { foreach ( $ this -> sidebars as $ name ) { $ sidebar = $ this -> resolver -> resolve ( $ name ) ; $ this -> container -> singleton ( $ name , function ( ) use ( $ sidebar ) { return $ sidebar ; } ) ; } }
Bind sidebar instances to the ioC
Bind sidebar instances to the ioC