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);
    }