src/Http/Presenters/IndexPresenter.php
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);
    }
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);
    }
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 ) ; }
gets instance of command form

@param Fluent $fluent
@param mixed $notification
@return FormBuilder
gets instance of command form