Cake\Chronos\Traits\FactoryTrait::yesterday PHP Метод

yesterday() публичный статический Метод

Create a ChronosInterface instance for yesterday
public static yesterday ( DateTimeZon\DateTimeZone | string | null $tz = null ) : static
$tz DateTimeZon\DateTimeZone | string | null The DateTimeZone object or timezone name the new instance should use.
Результат static
    public static function yesterday($tz = null)
    {
        return new static('yesterday, midnight', $tz);
    }