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