-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEW Aliases can now be defined for DataObject endpoints (#80)
* set endpoint_aliases on RestfulServer to specify fixed aliases for exposed dataobjects * removed wrong use statements from older project * better docblock * use correct obj ClassName in RestfulServer::updateDataObject * added findClassNameEndpoint method, replaced getEndpointAlias() * getDataFormatter() - find correct endpoint instead of request param ClassName * Better docblock Co-Authored-By: Guy Marriott <guy@scopey.co.nz> * Better docblock Co-Authored-By: Guy Marriott <guy@scopey.co.nz> * Return type hint in findClassNameEndpoint method Co-Authored-By: Guy Marriott <guy@scopey.co.nz> * renamed endpoint method to resolveEndpoint * unsanitiseClassName in resolveEndpoint method * renamed resolveEndpoint to resolveClassName. Take $request as param instead of string * better docbloc * Remove unneccesary unsanitiseClassName call Co-Authored-By: Guy Marriott <guy@scopey.co.nz> * changed docblocks to satisfy codesniffer * Drop PHP 5.6 and 7.0 from travis Co-authored-by: Guy Marriott <guy@scopey.co.nz>
- Loading branch information
Showing
2 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters