Form.php
public function getContent()
    {
        if ($this->content === null) {
            if (is_array($this->variables)) {
                extract($this->variables);
            } else {
                if ($this->variables !== null) {
                    throw new \InvalidArgumentException('$variables argument should be null or an array');
                }
            }

            ob_start();
            include($this->path);
            $this->content = ob_get_clean();
        }

        return $this->content;
    }
public function getContent()
    {
        if ($this->content === null) {
            if (is_array($this->variables)) {
                extract($this->variables);
            } else {
                if ($this->variables !== null) {
                    throw new \InvalidArgumentException('$variables argument should be null or an array');
                }
            }

            ob_start();
            include($this->path);
            $this->content = ob_get_clean();
        }

        return $this->content;
    }
public function getContent ( ) { if ( $ this -> content === null ) { if ( is_array ( $ this -> variables ) ) { extract ( $ this -> variables ) ; } else { if ( $ this -> variables !== null ) { throw new \ InvalidArgumentException ( '$variables argument should be null or an array' ) ; } } ob_start ( ) ; include ( $ this -> path ) ; $ this -> content = ob_get_clean ( ) ; } return $ this -> content ; }
Get the form contents
Get the form contents