瀏覽代碼

added missing getName() methods to Types

Fabien Potencier 14 年之前
父節點
當前提交
03cc2ae87b
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 5 0
      Configurator/Form/DoctrineStepType.php
  2. 5 0
      Configurator/Form/SecretStepType.php

+ 5 - 0
Configurator/Form/DoctrineStepType.php

@@ -37,4 +37,9 @@ class DoctrineStepType extends AbstractType
             ))
         ;
     }
+
+    public function getName()
+    {
+        return 'distributionbundle_doctrine_step';
+    }
 }

+ 5 - 0
Configurator/Form/SecretStepType.php

@@ -25,4 +25,9 @@ class SecretStepType extends AbstractType
     {
         $builder->add('secret', 'text');
     }
+
+    public function getName()
+    {
+        return 'distributionbundle_secret_step';
+    }
 }