@@ -28,6 +28,7 @@ class DoctrineStepType extends AbstractType
->add('driver', 'choice', array('choices' => DoctrineStep::getDrivers()))
->add('name', 'text')
->add('host', 'text')
+ ->add('port', 'text')
->add('user', 'text')
->add('password', 'repeated', array(
'required' => false,
@@ -31,6 +31,11 @@ class DoctrineStep implements StepInterface
*/
public $host;
+ /**
+ * @Assert\Min(0)
+ */
+ public $port;
+
/**
* @Assert\NotBlank