Change to Symfony Best Practice

Change to Symfony Best Practice