You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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);
|
|
}
|
|
}
|