19 lines
356 B
PHP
19 lines
356 B
PHP
<?php
|
|
|
|
namespace Illuminate\Support;
|
|
|
|
use Carbon\Carbon as BaseCarbon;
|
|
use Carbon\CarbonImmutable as BaseCarbonImmutable;
|
|
|
|
class Carbon extends BaseCarbon
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public static function setTestNow($testNow = null)
|
|
{
|
|
BaseCarbon::setTestNow($testNow);
|
|
BaseCarbonImmutable::setTestNow($testNow);
|
|
}
|
|
}
|