original_string: public function createForm($model, $formClass = null)
      {
          if (is_string($model)) {
              return $this->createFormInternal($model, new $model, $formClass);
          } else {
              return $this->createFormInternal(get_class($model), $model, $formClass);
          }
      }
code: public function createForm($model, $formClass = null)
      {
          if (is_string($model)) {
              return $this->createFormInternal($model, new $model, $formClass);
          } else {
              return $this->createFormInternal(get_class($model), $model, $formClass);
          }
      }
code_tokens: public function createForm ( $ model , $ formClass = null ) { if ( is_string ( $ model ) ) { return $ this -> createFormInternal ( $ model , new $ model , $ formClass ) ; } else { return $ this -> createFormInternal ( get_class ( $ model ) , $ model , $ formClass ) ; } }
docstring: Create form object
  
  @param string|object $model model class or object
  @param string $formClass form class, default use Phalcon\Forms\Form
  @return Phalcon\Forms\Form
docstring_tokens: Create form object