Trait Options.
Embed base methods to change settings of Carbon classes.
Depends on the following methods:
Methods | ||
---|---|---|
public
static
|
useStrictMode(bool $strictModeEnabled = true)
|
# |
public
static
|
isStrictModeEnabled(): bool
|
# |
public
static
|
useMonthsOverflow(bool $monthsOverflow = true): void
|
# |
public
static
|
resetMonthsOverflow(): void
|
# |
public
static
|
shouldOverflowMonths(): bool
|
# |
public
static
|
useYearsOverflow(bool $yearsOverflow = true): void
|
# |
public
static
|
resetYearsOverflow(): void
|
# |
public
static
|
shouldOverflowYears(): bool
|
# |
public
|
settings(array $settings): $this|static
|
# |
public
|
getSettings(): array
|
# |
public
|
__debugInfo(): array
|
# |
public
|
shiftTimezone($timezone): Carbon|CarbonImmutable
|
# |
Properties | |||
---|---|---|---|
public
static
|
int
|
$PHPIntSize = PHP_INT_SIZE
|
# |