HighSpeaker/vendor/illuminate/support/Carbon.php

22 lines
425 B
PHP
Raw Permalink Normal View History

2022-12-24 22:10:40 +08:00
<?php
namespace Illuminate\Support;
use Carbon\Carbon as BaseCarbon;
use Carbon\CarbonImmutable as BaseCarbonImmutable;
use Illuminate\Support\Traits\Conditionable;
class Carbon extends BaseCarbon
{
use Conditionable;
/**
* {@inheritdoc}
*/
public static function setTestNow($testNow = null)
{
BaseCarbon::setTestNow($testNow);
BaseCarbonImmutable::setTestNow($testNow);
}
}