Dev4TheWeb
Random bits about web development
Thursday, August 23, 2012
How to access configuration values inside an entity in Symfony2
So you have an entity class (let's say,
Post
) and you need to access a configuration value (let's say,
my_bundle.upload_dir
). Well, you
can't
. Or, better, you can but you may end breaking several good practices in the process.
Read more »
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)