Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

create, delete, get, getList and update method shouldn't be abstract in AbstractRestfulController #4209

Closed
corentin-larose opened this issue Apr 11, 2013 · 1 comment
Labels

Comments

@corentin-larose
Copy link
Contributor

Since no method is mandatory in REST, AbstractRestfulController shouldn't force to implement these methods (create, delete, get, getList and update) thus conducing to a concrete class with empty/unused methods.

@ThaDafinser
Copy link
Contributor

@corentin-larose or @weierophinney can u close this? It's already solved (no abstract public functions anymore)

See here:
https://github.com/zendframework/zf2/blob/master/library/Zend/Mvc/Controller/AbstractRestfulController.php#L149

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

Successfully merging a pull request may close this issue.

2 participants