Search code examples
symfonyfile-uploadvichuploaderbundle

simple example for the creation of a custom directory namer


I have read the main idea of how Create a custom directory namer on github. But, I did not manage to know how to start. So, I am wondering if there is simple example for it.

Thank you very much.


Solution

  • You can find a sample DirectoryNamer here:https://github.com/dustin10/VichUploaderBundle/issues/242#issuecomment-44566041