public function plain(array $options = [], array $data = [])
    {
        $form = $this->setDependenciesAndOptions(
            $this->container->make($this->plainFormClass),
            $options,
            $data
        );

        $this->eventDispatcher->dispatch(new AfterFormCreation($form));

        $form->filterFields();

        return $form;
    }
public function plain(array $options = [], array $data = [])
    {
        $form = $this->setDependenciesAndOptions(
            $this->container->make($this->plainFormClass),
            $options,
            $data
        );

        $this->eventDispatcher->dispatch(new AfterFormCreation($form));

        $form->filterFields();

        return $form;
    }
public function plain ( array $ options = [ ] , array $ data = [ ] ) { $ form = $ this -> setDependenciesAndOptions ( $ this -> container -> make ( $ this -> plainFormClass ) , $ options , $ data ) ; $ this -> eventDispatcher -> dispatch ( new AfterFormCreation ( $ form ) ) ; $ form -> filterFields ( ) ; return $ form ; }
Get instance of the empty form which can be modified.

@param array $options
@param array $data
@return \Kris\LaravelFormBuilder\Form
Get instance of the empty form which can be modified .