src/Slashworks/AppBundle/Controller/RemoteAppController.php
private function createCreateForm(RemoteApp $oRemoteApp)
        {

            $form = $this->createForm(new RemoteAppType(), $oRemoteApp, array(
                'action' => $this->generateUrl('remote_app_create'),
                'method' => 'POST',
            ));

            $form->add('submit', 'submit', array('label' => 'Create'));

            return $form;
        }
private function createCreateForm(RemoteApp $oRemoteApp)
        {

            $form = $this->createForm(new RemoteAppType(), $oRemoteApp, array(
                'action' => $this->generateUrl('remote_app_create'),
                'method' => 'POST',
            ));

            $form->add('submit', 'submit', array('label' => 'Create'));

            return $form;
        }
private function createCreateForm ( RemoteApp $ oRemoteApp ) { $ form = $ this -> createForm ( new RemoteAppType ( ) , $ oRemoteApp , array ( 'action' => $ this -> generateUrl ( 'remote_app_create' ) , 'method' => 'POST' , ) ) ; $ form -> add ( 'submit' , 'submit' , array ( 'label' => 'Create' ) ) ; return $ form ; }
Creates a form to create a RemoteApp entity.

@param RemoteApp $oRemoteApp The entity

@return \Symfony\Component\Form\Form The form
Creates a form to create a RemoteApp entity .