public function edit($listener, $id)
    {
        $eloquent = $this->model->findOrFail($id);
        $form = $this->presenter->form($eloquent);

        $this->fireEvent('form', [$eloquent, $form]);

        return $listener->editSucceed(compact('eloquent', 'form'));
    }
public function edit($listener, $id)
    {
        $eloquent = $this->model->findOrFail($id);
        $form = $this->presenter->form($eloquent);

        $this->fireEvent('form', [$eloquent, $form]);

        return $listener->editSucceed(compact('eloquent', 'form'));
    }
public function edit ( $ listener , $ id ) { $ eloquent = $ this -> model -> findOrFail ( $ id ) ; $ form = $ this -> presenter -> form ( $ eloquent ) ; $ this -> fireEvent ( 'form' , [ $ eloquent , $ form ] ) ; return $ listener -> editSucceed ( compact ( 'eloquent' , 'form' ) ) ; }
View edit a role page.

@param  object  $listener
@param  string|int  $id

@return mixed
View edit a role page .