src/Renderer.php
public function render(InputFilter $inputFilter)
    {
        $inputFilter->prepare(); // ensure it is prepare
        $props = $inputFilter->getAttributes();
        $treeBuilder = new TreeBuilder($inputFilter);
        $props = array_merge($props, $treeBuilder->getTree());

        return $this->make('widget-form', $props);
    }
public function render(InputFilter $inputFilter)
    {
        $inputFilter->prepare(); // ensure it is prepare
        $props = $inputFilter->getAttributes();
        $treeBuilder = new TreeBuilder($inputFilter);
        $props = array_merge($props, $treeBuilder->getTree());

        return $this->make('widget-form', $props);
    }
public function render ( InputFilter $ inputFilter ) { $ inputFilter -> prepare ( ) ; // ensure it is prepare $ props = $ inputFilter -> getAttributes ( ) ; $ treeBuilder = new TreeBuilder ( $ inputFilter ) ; $ props = array_merge ( $ props , $ treeBuilder -> getTree ( ) ) ; return $ this -> make ( 'widget-form' , $ props ) ; }
Renders a complete InputFilter object into a form
@param InputFilter $inputFilter
@return \Sirius\Html\Tag|string
Renders a complete InputFilter object into a form