ActionMapper Interface Reference
Detailed Description
ActionMapper implementations are responsible for instantiating and executing Controllers based on the referring Controller and the given action.
Definition at line 21 of file ActionMapper.php.
Inheritance diagram for ActionMapper:
Public Member Functions | |
processAction (Request $request, Response $response) | |
Member Function Documentation
◆ processAction()
Process an action depending on a given referrer.
The ActionMapper will instantiate the required Controller class as determined by the request's action key and delegates the request to it.
- Note
- This method is static so that it can be used without an instance. (This is necessary to call it in onError() which cannot be a class method because php's set_error_handler() does not allow this).
Implemented in DefaultActionMapper.