original_string: public function onCreate()
      {
          $this->grid->attributes([
              'url'    => handles('antares::notifications/store'),
              'method' => 'POST',
          ]);
          $layout = ($this->fluent->type == 'sms') ? 'antares/notifications::admin.index.form_sms' : 'antares/notifications::admin.index.form';
          $this->grid->layout($layout, $this->layoutAttributes);
          return $this;
      }
code: public function onCreate()
      {
          $this->grid->attributes([
              'url'    => handles('antares::notifications/store'),
              'method' => 'POST',
          ]);
          $layout = ($this->fluent->type == 'sms') ? 'antares/notifications::admin.index.form_sms' : 'antares/notifications::admin.index.form';
          $this->grid->layout($layout, $this->layoutAttributes);
          return $this;
      }
code_tokens: public function onCreate ( ) { $ this -> grid -> attributes ( [ 'url' => handles ( 'antares::notifications/store' ) , 'method' => 'POST' , ] ) ; $ layout = ( $ this -> fluent -> type == 'sms' ) ? 'antares/notifications::admin.index.form_sms' : 'antares/notifications::admin.index.form' ; $ this -> grid -> layout ( $ layout , $ this -> layoutAttributes ) ; return $ this ; }
docstring: on create scenario
  
  @param String $type
  @return \Antares\Notifications\Http\Form\Form
docstring_tokens: on create scenario