Closed jeroendk closed 4 years ago
Can you provide a PR with a fix @jeroendk ?
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Environment
Sonata packages
Symfony packages
PHP version
Subject
When I follow the documentation to configure the API part of the Sonata Media bundle, the FOSRest route loader throws an error. This is because the following controller services are private by default:
The route loader tries to find the services in the container and fails.
Steps to reproduce
Configure the Sonata Media API routes as described here: https://sonata-project.org/bundles/media/3-x/doc/reference/api.html.
Expected results
No error on cache clear.
Actual results
Should these services be made public? If so I am happy to provide a pull request.