public function compose($classname)
    {
        if (!class_exists($classname)) {
            return false;
        }
        $instance = $this->app->make($classname);
        $params   = $instance->getAttribute('boot');
        $group    = array_get($params, 'group');

        $this->app->instance($group, app('antares.widget')->make($group));

        app('view')->composer(array_get($params, 'on'), function() use($instance, $group, $params) {

            if (!Registry::isRegistered('menu.' . $group)) {
                $instance->__construct($this->app, $group);
                $instance->handle();
                Registry::set('menu.' . $group, $instance);
            }
            $this->content($params);
        });
    }