<?php /** * This file is part of the Carbon package. * * (c) Brian Nesbitt <brian@nesbot.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Carbon; class CarbonPeriodImmutable extends CarbonPeriod { /** * Date class of iteration items. * * @var string */ protected $dateClass = CarbonImmutable::class; /** * Prepare the instance to be set (self if mutable to be mutated, * copy if immutable to generate a new instance). * * @return static */ protected function copyIfImmutable() { return $this->constructed ? clone $this : $this; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Cli | Folder | 0755 |
|
|
Doctrine | Folder | 0755 |
|
|
Exceptions | Folder | 0755 |
|
|
Lang | Folder | 0755 |
|
|
Laravel | Folder | 0755 |
|
|
List | Folder | 0755 |
|
|
MessageFormatter | Folder | 0755 |
|
|
PHPStan | Folder | 0755 |
|
|
Traits | Folder | 0755 |
|
|
AbstractTranslator.php | File | 10.44 KB | 0644 |
|
Carbon.php | File | 91.91 KB | 0644 |
|
CarbonConverterInterface.php | File | 417 B | 0644 |
|
CarbonImmutable.php | File | 93.42 KB | 0644 |
|
CarbonInterface.php | File | 240.88 KB | 0644 |
|
CarbonInterval.php | File | 94.69 KB | 0644 |
|
CarbonPeriod.php | File | 81.81 KB | 0644 |
|
CarbonPeriodImmutable.php | File | 716 B | 0644 |
|
CarbonTimeZone.php | File | 8.53 KB | 0644 |
|
Factory.php | File | 55.94 KB | 0644 |
|
FactoryImmutable.php | File | 53.62 KB | 0644 |
|
Language.php | File | 7.15 KB | 0644 |
|
Translator.php | File | 806 B | 0644 |
|
TranslatorImmutable.php | File | 2.27 KB | 0644 |
|
TranslatorStrongTypeInterface.php | File | 551 B | 0644 |
|