Свойство | Тип | Описание | |
---|---|---|---|
$currentHttpDate | |||
$currentTime |
Метод | Описание | |
---|---|---|
__construct ( Psr\Log\LoggerInterface $logger ) | ||
update ( |
||
updateTime ( ) : void | Updates the context with the current time | |
use ( callable $useCallback ) : void | Add a callback to invoke each time the time context updates |
Метод | Описание | |
---|---|---|
tryUseCallback ( callable $useCallback ) |
public __construct ( Psr\Log\LoggerInterface $logger ) | ||
$logger | Psr\Log\LoggerInterface |
public update ( |
||
$server | ||
Результат | Promise |
public updateTime ( ) : void | ||
Результат | void |