Skip to content

Instantly share code, notes, and snippets.

View rajesh-vi's full-sized avatar

Rajesh Meniya rajesh-vi

View GitHub Profile
@beberlei
beberlei / Document.php
Created May 18, 2011 10:46
My Symfony2 File Upload workflow
<?php
use Symfony\Component\HttpFoundation\File\File;
use Symfony\Component\HttpFoundation\File\UploadedFile;
/**
* @Entity
*/
class Document
{