* 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>