I need to execute a Doctrine Query in my project configuration class.
I tried to put my code in the setup method but it cant find the classes.
Do i need to register Doctrine Autoload manually or something?.
Thanks for the help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just how you said – you have to define ProjectConfiguration class with manual autoloading registration because ProjectConfiguration runs before it:
I have my projects set with symfony cloned internaly in vendor path, change your path how you need to.