Cake\Chronos\ChronosInterface::tz PHP Method

tz() public method

Alias for setTimezone()
public tz ( DateTimeZon\DateTimeZone | string $value ) : static
$value DateTimeZon\DateTimeZone | string The DateTimeZone object or timezone name to use.
return static
    public function tz($value);
ChronosInterface