Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant set the zf-rest controller_class from apigility UI #7

Open
weierophinney opened this issue Dec 31, 2019 · 0 comments
Open

Cant set the zf-rest controller_class from apigility UI #7

weierophinney opened this issue Dec 31, 2019 · 0 comments

Comments

@weierophinney
Copy link
Contributor

In https://apigility.org/documentation/modules/zf-rest
"Sub-key: controller_class (optional)
An alternate controller class to use when creating the controller service; it must extend ZF\Rest\RestController. Only use this if you are altering the workflow present in the RestController."

I want to extend the RestController in order to do some private handling of exceptions.
(modify createApiProblemFromException because the exceptions are lost there).
Actually I would like to be able to change it in the Apigility-Admin-GUI globally or at the "API" level

Thanks.


Originally posted by @goalain at zfcampus/zf-apigility-admin#386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant