Browse Source

[Form] Added getType() to FormFactoryInterface

Bernhard Schussek 14 năm trước cách đây
mục cha
commit
fdd18250b3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/Symfony/Component/Form/FormFactoryInterface.php

+ 2 - 0
src/Symfony/Component/Form/FormFactoryInterface.php

@@ -24,4 +24,6 @@ interface FormFactoryInterface
     function createNamedBuilder($type, $name, $data = null, array $options = array());
 
     function createBuilderForProperty($class, $property, $data = null, array $options = array());
+
+    function getType($name);
 }