Carbon.php 356 B

123456789101112131415161718
  1. <?php
  2. namespace Illuminate\Support;
  3. use Carbon\Carbon as BaseCarbon;
  4. use Carbon\CarbonImmutable as BaseCarbonImmutable;
  5. class Carbon extends BaseCarbon
  6. {
  7. /**
  8. * {@inheritdoc}
  9. */
  10. public static function setTestNow($testNow = null)
  11. {
  12. BaseCarbon::setTestNow($testNow);
  13. BaseCarbonImmutable::setTestNow($testNow);
  14. }
  15. }