public function close()
    {
        $html = implode('', $this->footer);
        foreach ($this->hidden as $key => $value) {
            $html .= "\n\t".$this->input('hidden', array(
                'name' => $key,
                'value' => htmlspecialchars((string) $value),
            ));
        }

        return $html."\n</form>";
    }
public function close()
    {
        $html = implode('', $this->footer);
        foreach ($this->hidden as $key => $value) {
            $html .= "\n\t".$this->input('hidden', array(
                'name' => $key,
                'value' => htmlspecialchars((string) $value),
            ));
        }

        return $html."\n</form>";
    }
public function close ( ) { $ html = implode ( '' , $ this -> footer ) ; foreach ( $ this -> hidden as $ key => $ value ) { $ html .= "\n\t" . $ this -> input ( 'hidden' , array ( 'name' => $ key , 'value' => htmlspecialchars ( ( string ) $ value ) , ) ) ; } return $ html . "\n</form>" ; }
Closes and cleans up shop.

@return string The closing ``</form>`` tag with the ``$form->footer`` and ``$form->hidden`` fields preceding it.

@example

```php
echo $form->close();
```
Closes and cleans up shop .