public function setDependenciesAndOptions($instance, array $options = [], array $data = [])
    {
        return $instance
            ->addData($data)
            ->setRequest($this->container->make('request'))
            ->setFormHelper($this->formHelper)
            ->setEventDispatcher($this->eventDispatcher)
            ->setFormBuilder($this)
            ->setValidator($this->container->make('validator'))
            ->setFormOptions($options);
    }
public function setDependenciesAndOptions($instance, array $options = [], array $data = [])
    {
        return $instance
            ->addData($data)
            ->setRequest($this->container->make('request'))
            ->setFormHelper($this->formHelper)
            ->setEventDispatcher($this->eventDispatcher)
            ->setFormBuilder($this)
            ->setValidator($this->container->make('validator'))
            ->setFormOptions($options);
    }
public function setDependenciesAndOptions ( $ instance , array $ options = [ ] , array $ data = [ ] ) { return $ instance -> addData ( $ data ) -> setRequest ( $ this -> container -> make ( 'request' ) ) -> setFormHelper ( $ this -> formHelper ) -> setEventDispatcher ( $ this -> eventDispatcher ) -> setFormBuilder ( $ this ) -> setValidator ( $ this -> container -> make ( 'validator' ) ) -> setFormOptions ( $ options ) ; }
Set depedencies and options on existing form instance

@param \Kris\LaravelFormBuilder\Form $instance
@param array $options
@param array $data
@return \Kris\LaravelFormBuilder\Form
Set depedencies and options on existing form instance