original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: shows edit form
  
  @param mixed $id
  @param String $locale
  @param IndexListener $listener
  @return View
docstring_tokens: shows edit form