Cake\Chronos\ChronosInterface::setTimezone PHP Méthode

setTimezone() public méthode

Set the instance's timezone from a string or object
public setTimezone ( DateTimeZon\DateTimeZone | string $value ) : static
$value DateTimeZon\DateTimeZone | string The DateTimeZone object or timezone name to use.
Résultat static
    public function setTimezone($value);
ChronosInterface