public function make()
    {
        $extensions = app('antares.memory')->make('component')->get('extensions.active');
        $data       = [
            [
                'name'      => 'core_platform',
                'full_name' => 'Core Platform',
                'handles'   => handles('antares::acl/acl')
            ]
        ];
        foreach ($extensions as $extension) {
            $name = $extension['name'];
            if ($name == 'control') {
                continue;
            }
            $data[] = array_merge($extension, ['handles' => handles('antares::acl/acl', ['name' => "antares/{$name}"])]);
        }
        $this->widget->make('pane.left')->add('modules')->content(view("antares/acl::partial._modules", ['data' => $data]));
    }
public function make()
    {
        $extensions = app('antares.memory')->make('component')->get('extensions.active');
        $data       = [
            [
                'name'      => 'core_platform',
                'full_name' => 'Core Platform',
                'handles'   => handles('antares::acl/acl')
            ]
        ];
        foreach ($extensions as $extension) {
            $name = $extension['name'];
            if ($name == 'control') {
                continue;
            }
            $data[] = array_merge($extension, ['handles' => handles('antares::acl/acl', ['name' => "antares/{$name}"])]);
        }
        $this->widget->make('pane.left')->add('modules')->content(view("antares/acl::partial._modules", ['data' => $data]));
    }
public function make ( ) { $ extensions = app ( 'antares.memory' ) -> make ( 'component' ) -> get ( 'extensions.active' ) ; $ data = [ [ 'name' => 'core_platform' , 'full_name' => 'Core Platform' , 'handles' => handles ( 'antares::acl/acl' ) ] ] ; foreach ( $ extensions as $ extension ) { $ name = $ extension [ 'name' ] ; if ( $ name == 'control' ) { continue ; } $ data [ ] = array_merge ( $ extension , [ 'handles' => handles ( 'antares::acl/acl' , [ 'name' => "antares/{$name}" ] ) ] ) ; } $ this -> widget -> make ( 'pane.left' ) -> add ( 'modules' ) -> content ( view ( "antares/acl::partial._modules" , [ 'data' => $ data ] ) ) ; }
make resource instance of left pane
make resource instance of left pane