22 lines
425 B
PHP
22 lines
425 B
PHP
<?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);
|
|
}
|
|
}
|