mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
Document calback array in the RequestProcessor class
This commit is contained in:
parent
69e08359c2
commit
159a8aa0df
@ -453,6 +453,10 @@ abstract class RequestProcessor {
|
||||
/**
|
||||
* Stores callback function
|
||||
*
|
||||
* Callback is an associative array with following keys
|
||||
* - 'function': function name to call
|
||||
* - 'arguments': additional arguments, that passed to the callback function
|
||||
*
|
||||
* @param string $token Request token
|
||||
* @param array $callback Callback function array
|
||||
*/
|
||||
@ -461,6 +465,10 @@ abstract class RequestProcessor {
|
||||
/**
|
||||
* Loads callback function
|
||||
*
|
||||
* Callback is an associative array with following keys
|
||||
* - 'function': function name to call
|
||||
* - 'arguments': additional arguments, that passed to the callback function
|
||||
*
|
||||
* @param string $token Token of the request related to callback function
|
||||
* @return mixed callback function array or null if callback function not exists
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user