public function edit(Eloquent $eloquent, array $available = array())
    {
        publish('acl', ['js/control.js']);
        $id         = $eloquent->id;
        $instances  = $this->container->make('antares.acl')->all();
        $form       = $this->form($eloquent);
        $modules    = $this->adapter->modules();
        $collection = $this->container->make('antares.memory')->make('collector')->all();
        foreach ($collection as $item) {
            array_push($available, $item['aid']);
        }
        return compact('eloquent', 'form', 'modules', 'instances', 'available', 'id');
    }
public function edit(Eloquent $eloquent, array $available = array())
    {
        publish('acl', ['js/control.js']);
        $id         = $eloquent->id;
        $instances  = $this->container->make('antares.acl')->all();
        $form       = $this->form($eloquent);
        $modules    = $this->adapter->modules();
        $collection = $this->container->make('antares.memory')->make('collector')->all();
        foreach ($collection as $item) {
            array_push($available, $item['aid']);
        }
        return compact('eloquent', 'form', 'modules', 'instances', 'available', 'id');
    }
public function edit ( Eloquent $ eloquent , array $ available = array ( ) ) { publish ( 'acl' , [ 'js/control.js' ] ) ; $ id = $ eloquent -> id ; $ instances = $ this -> container -> make ( 'antares.acl' ) -> all ( ) ; $ form = $ this -> form ( $ eloquent ) ; $ modules = $ this -> adapter -> modules ( ) ; $ collection = $ this -> container -> make ( 'antares.memory' ) -> make ( 'collector' ) -> all ( ) ; foreach ( $ collection as $ item ) { array_push ( $ available , $ item [ 'aid' ] ) ; } return compact ( 'eloquent' , 'form' , 'modules' , 'instances' , 'available' , 'id' ) ; }
edit action presenter

@return type
edit action presenter