Cake\Chronos\Traits\FormattingTrait::setToStringFormat PHP 메소드

setToStringFormat() 공개 정적인 메소드

Set the default format used when type juggling a ChronosInterface instance to a string
public static setToStringFormat ( string $format ) : void
$format string The format to use in future __toString() calls.
리턴 void
    public static function setToStringFormat($format)
    {
        static::$toStringFormat = $format;
    }