added file type to FormType Parser

This commit is contained in:
Jonathan Chan 2014-06-12 03:56:54 -04:00 committed by William DURAND
parent 96e5d15f1b
commit b124824a8d
2 changed files with 11 additions and 10 deletions

View File

@ -46,6 +46,7 @@ class FormTypeParser implements ParserInterface
'textarea' => DataTypes::STRING,
'country' => DataTypes::STRING,
'choice' => DataTypes::ENUM,
'file' => DataTypes::FILE,
);
public function __construct(FormFactoryInterface $formFactory)