I have some general functions in myBundle/Controller/functions.php and I want to include this php file in another php.
In myBundle/Service/myService.php I do:
require_once ('../Controller/functions.php');
but when running i keep getting the error message 'ContextErrorException: Warning: require_once(functions.php): failed to open stream: No such file or directory in ..../myBundle/Services/myService.php line ..'
Looks so stupid, it must be something simple i Guess. Thanks for your suggestions.