mirror of
https://github.com/Mibew/design.git
synced 2025-01-23 02:20:34 +03:00
Fix bug in documentation for RequestProcessor class
This commit is contained in:
parent
1613a1052e
commit
7e49da1999
@ -20,7 +20,7 @@
|
||||
*
|
||||
* Register events (see RequestProcessor::registerEvents() for details):
|
||||
* - <eventPrefix>RequestReceived
|
||||
* - <eventPrefix>ReceiveRequestError
|
||||
* - <eventPrefix>RequestError
|
||||
* - <eventPrefix>ResponseReceived
|
||||
* - <eventPrefix>CallError
|
||||
* - <eventPrefix>FunctionCall
|
||||
@ -99,7 +99,7 @@ abstract class RequestProcessor {
|
||||
* Proccess received packages
|
||||
*
|
||||
* On any error function returns only boolean false. To handle error add listener to the
|
||||
* "<eventPrefix>ReceiveRequestError" event.
|
||||
* "<eventPrefix>RequestError" event.
|
||||
*
|
||||
* @param string $package Encoded package
|
||||
* @return boolean true if request processed succussfully or false on failure
|
||||
@ -279,7 +279,7 @@ abstract class RequestProcessor {
|
||||
* package structure
|
||||
*
|
||||
*
|
||||
* 2. "<eventPrefix>ReceiveRequestError" - triggers when error occurs during received
|
||||
* 2. "<eventPrefix>RequestError" - triggers when error occurs during received
|
||||
* request processing.
|
||||
*
|
||||
* An associative array passed to event handler have following keys:
|
||||
|
Loading…
Reference in New Issue
Block a user