Model/FormManager.php
public function create()
    {
        $class = $this->getClass();
        $form = new $class();

        $schema = $this->schemaManager->create();
        $schema->setObjectClass($this->postManager->getClass());

        $form->setSchema($schema);

        return $form;
    }
public function create()
    {
        $class = $this->getClass();
        $form = new $class();

        $schema = $this->schemaManager->create();
        $schema->setObjectClass($this->postManager->getClass());

        $form->setSchema($schema);

        return $form;
    }
public function create ( ) { $ class = $ this -> getClass ( ) ; $ form = new $ class ( ) ; $ schema = $ this -> schemaManager -> create ( ) ; $ schema -> setObjectClass ( $ this -> postManager -> getClass ( ) ) ; $ form -> setSchema ( $ schema ) ; return $ form ; }
Create a new form instance.

@return Form
Create a new form instance .