Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert to Symfony\Component\HttpFoundation\File\File object #51

VMF214 opened this issue Apr 9, 2014 · 4 comments


Copy link

commented Apr 9, 2014

First thing thanks you for this bundle.
i'd like to create a pdf and use Vich uploader to manage file,
so have you got an idea not to create a pdf file directly, but create
Symfony\Component\HttpFoundation\File\File object (maybe further improvment?)


This comment has been minimized.

Copy link

commented Apr 9, 2014

@VMF214 what is use case for File object?


This comment has been minimized.

Copy link

commented Apr 9, 2014

it's normally for upload (in a form),
vich uploader make pertinence beetwen an entity and a file, and it use File object.
the good thing will be:

'some' => $vars
FileObject <----- not File But File object

with this, it will be easy to manage pdf dile generated.

@pilot pilot added the rfc label Jun 26, 2014


This comment has been minimized.

Copy link

commented Jan 1, 2016


Any news on this? Same scenario @VMF214 here!


This comment has been minimized.

Copy link

commented Jun 16, 2016

@VMF214 My question may be dumb but… Why don't you generate a PDF and then gives it path to the constructor of Symfony\Component\HttpFoundation\File\File?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.