$settings $settings : \ManaPHP\Configuration\SettingsInterface Type \ManaPHP\Configuration\SettingsInterface
$redisCache $redisCache : \Redis|\ManaPHP\Data\RedisInterface Type \Redis|\ManaPHP\Data\RedisInterface
$redisBroker $redisBroker : \Redis|\ManaPHP\Data\RedisInterface Type \Redis|\ManaPHP\Data\RedisInterface
$coroutineManager $coroutineManager : \ManaPHP\Coroutine\ManagerInterface Type \ManaPHP\Coroutine\ManagerInterface
validateInvokable() validateInvokable(string $action) Parameters string $action Throws \ManaPHP\Http\Dispatcher\NotFoundActionException
getInstance() getInstance(string $class, array $params = array()) : mixed Parameters string $class array $params Returns mixed
inject() inject(string $name, mixed $target) : static Parameters string $name mixed $target Returns static
attachEvent() attachEvent(string $event, callable $handler, boolean $appended = true) : static Attach a listener to the events manager Parameters string $event callable $handler boolean $appended Returns static
detachEvent() detachEvent(string $event, callable $handler) : static Parameters string $event callable $handler Returns static
peekEvent() peekEvent(string $group, callable $handler) : static Parameters string $group callable $handler Returns static
fireEvent() fireEvent(string $event, mixed $data = array(), mixed $source = null) : void Fires an event in the events manager causing that the active listeners will be notified about it Parameters string $event mixed $data mixed $source
on() on(string $event, callable $handler) : static Parameters string $event callable $handler Returns static
off() off(string $event = null, callable $handler = null) : static Parameters string $event callable $handler Returns static
syncAction() syncAction(string $url = 'http://www.baidu.com') : integer sync system time with http server time clock Parameters string $url the time original Returns integer
remoteAction() remoteAction(string $url = 'http://www.baidu.com') : integer show remote time Parameters string $url the time original Returns integer
diffAction() diffAction(string $url = 'http://www.baidu.com') : string show local and remote diff Parameters string $url the time original Returns string
setAction() setAction(string $date = '', string $time = '') : integer set the system time Parameters string $date string $time Returns integer
_getRemoteTimestamp() _getRemoteTimestamp(string $url, boolean $onlyOnce = false) : integer|false Parameters string $url boolean $onlyOnce Returns integer|false