I also think 1) is the best option, but I'd use a different prefix. This one can easily be confused with a key in Yaml, and a key it is not. Besides as I understand it, the "file:" doesn't really represent the type of the resource, but rather it indicates which loader is to be used for whatever comes after the prefix. Therefore, "php://", "xml://", etc. would be more precise, and less ambiguous; after all, you'll also load annotations from a file, but you'll parse the file differently.
Regards, Johannes On 30 Nov., 16:30, Pablo Godel <pablo.go...@gmail.com> wrote: > As others mentioned, option #1 seems the more natural one. Adding the file: > prefix does not seem like an issue. > > Pablo -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en