Skip to content

Instantly share code, notes, and snippets.

@GeeH
Forked from anonymous/SomeForm.php
Last active August 29, 2015 14:06
Show Gist options
  • Save GeeH/7c9a135635a3ae8fb6d9 to your computer and use it in GitHub Desktop.
Save GeeH/7c9a135635a3ae8fb6d9 to your computer and use it in GitHub Desktop.
/**
* @Annotation\Attributes({"enctype":"multipart/form-data})
*/
class SomeForm
{
.......
/**
* @Annotation\Type("file")
* @Annotation\Options({"label":"File"})
*/
protected $sFilePath;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment