src/Processor/IndexProcessor.php
public function edit($id, $locale, IndexListener $listener)
    {
        app('antares.asset')->container('antares/foundation::application')->add('ckeditor', '/packages/ckeditor/ckeditor.js', ['webpack_forms_basic']);
        $model = $this->repository->findByLocale($id, $locale);
        if (is_null($model)) {
            throw new ModelNotFoundException('Model not found');
        }
        return $this->presenter->edit($model, $locale);
    }
public function edit($id, $locale, IndexListener $listener)
    {
        app('antares.asset')->container('antares/foundation::application')->add('ckeditor', '/packages/ckeditor/ckeditor.js', ['webpack_forms_basic']);
        $model = $this->repository->findByLocale($id, $locale);
        if (is_null($model)) {
            throw new ModelNotFoundException('Model not found');
        }
        return $this->presenter->edit($model, $locale);
    }
public function edit ( $ id , $ locale , IndexListener $ listener ) { app ( 'antares.asset' ) -> container ( 'antares/foundation::application' ) -> add ( 'ckeditor' , '/packages/ckeditor/ckeditor.js' , [ 'webpack_forms_basic' ] ) ; $ model = $ this -> repository -> findByLocale ( $ id , $ locale ) ; if ( is_null ( $ model ) ) { throw new ModelNotFoundException ( 'Model not found' ) ; } return $ this -> presenter -> edit ( $ model , $ locale ) ; }
shows edit form

@param mixed $id
@param String $locale
@param IndexListener $listener
@return View
shows edit form