ApiPagesResponseHandler
class ApiPagesResponseHandler
Response handler takes care of creating,updating, destroying
Methods
__construct(ApiPagesManager $ApiPagesManager, Redirector $Redirect)
Construct a new PageResponseHandler
Redirector
requestCreateNewPage(array $input)
Request a new page be created
Redirector
requestUpdatePage(integer $id, array $input)
Request page be updated with given input
Redirector
requestDestroyPage(integer $id)
Request the page be deleted from database
Details
at line 33
__construct(ApiPagesManager $ApiPagesManager, Redirector $Redirect)
Construct a new PageResponseHandler
at line 45
Redirector
requestCreateNewPage(array $input)
Request a new page be created
at line 70
Redirector
requestUpdatePage(integer $id, array $input)
Request page be updated with given input
at line 94
Redirector
requestDestroyPage(integer $id)
Request the page be deleted from database