Apple functions in Symfony Bundle