Document calback array in the RequestProcessor class

This commit is contained in:
Dmitriy Simushev 2012-09-21 09:53:03 +00:00
parent 69e08359c2
commit 159a8aa0df

View File

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