Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Drupal uses Symfony so I would say yes. The method is owned by Symfony technically. I had to patch a Drupal contib module for this which is why I posted here.
Can you edit your question for how you have your sites directory setup? I would comment above but my rep isn't high enough yet. You can up vote me so I can comment above ;)