Свойство | Type | Description | |
---|---|---|---|
$currentHttpDate | |||
$currentTime |
Méthode | Description | |
---|---|---|
__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 |
Méthode | Description | |
---|---|---|
tryUseCallback ( callable $useCallback ) |
public __construct ( Psr\Log\LoggerInterface $logger ) | ||
$logger | Psr\Log\LoggerInterface |
public updateTime ( ) : void | ||
Résultat | void |