original_string: protected function form(Fluent $fluent, $notification = null)
      {
          publish('notifications', 'scripts.resources-default');
          Event::fire('antares.forms', 'notification.' . $fluent->form_name);
          $fluent->type = $fluent->type === '' ? 'email' : $fluent->type;
  
          return new Form($notification, $fluent);
      }
code: protected function form(Fluent $fluent, $notification = null)
      {
          publish('notifications', 'scripts.resources-default');
          Event::fire('antares.forms', 'notification.' . $fluent->form_name);
          $fluent->type = $fluent->type === '' ? 'email' : $fluent->type;
  
          return new Form($notification, $fluent);
      }
code_tokens: protected function form ( Fluent $ fluent , $ notification = null ) { publish ( 'notifications' , 'scripts.resources-default' ) ; Event :: fire ( 'antares.forms' , 'notification.' . $ fluent -> form_name ) ; $ fluent -> type = $ fluent -> type === '' ? 'email' : $ fluent -> type ; return new Form ( $ notification , $ fluent ) ; }
docstring: gets instance of command form
  
  @param Fluent $fluent
  @param mixed $notification
  @return FormBuilder
docstring_tokens: gets instance of command form