src/Html/Form/Form.php
public function generate(): string
    {
        $elements = [];
        foreach ($this->hiddens as $hidden) {
            $elements[] = $hidden;
        }
        foreach ($this->elements as $element) {
            /** @noinspection PhpUndefinedMethodInspection */
            $elements[] = $element->generate();
        }
        return Tags::form($elements, $this->attributes);
    }
public function generate(): string
    {
        $elements = [];
        foreach ($this->hiddens as $hidden) {
            $elements[] = $hidden;
        }
        foreach ($this->elements as $element) {
            /** @noinspection PhpUndefinedMethodInspection */
            $elements[] = $element->generate();
        }
        return Tags::form($elements, $this->attributes);
    }
public function generate ( ) : string { $ elements = [ ] ; foreach ( $ this -> hiddens as $ hidden ) { $ elements [ ] = $ hidden ; } foreach ( $ this -> elements as $ element ) { /** @noinspection PhpUndefinedMethodInspection */ $ elements [ ] = $ element -> generate ( ) ; } return Tags :: form ( $ elements , $ this -> attributes ) ; }
Generates from and returns it

@return string
Generates from and returns it