We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In line https://github.com/phly/PhlyRestfully/blob/master/src/PhlyRestfully/ResourceController.php#L606 there is an unexpected if clause checking $id and isMethodAllowedForCollection. PUT methods with an $id are mapped to this update method and it is never used for updating collections... All PUT methods without $id will map to replaceList according to https://github.com/zendframework/zf2/blob/master/library/Zend/Mvc/Controller/AbstractRestfulController.php#L417 I don't understand the reason for this if clause.
$id
isMethodAllowedForCollection
PUT
replaceList
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In line https://github.com/phly/PhlyRestfully/blob/master/src/PhlyRestfully/ResourceController.php#L606 there is an unexpected if clause checking
$id
andisMethodAllowedForCollection
.PUT
methods with an$id
are mapped to this update method and it is never used for updating collections...All
PUT
methods without$id
will map toreplaceList
according to https://github.com/zendframework/zf2/blob/master/library/Zend/Mvc/Controller/AbstractRestfulController.php#L417I don't understand the reason for this if clause.
The text was updated successfully, but these errors were encountered: