Php/docs/mongolog.getcallback

来自菜鸟教程
跳转至:导航、​搜索

MongoLog::getCallback

(PECL mongo >= 1.3.0)

MongoLog::getCallbackGets the previously set callback function


说明

public static MongoLog::getCallback ( ) : callable

Retrieves the callback function.


参数

此函数没有参数。


返回值

Returns the callback function, or false if not set yet.


注释

Caution This function is only available with PHP 5.3.0 and later.