Namespaces

Classes

Interfaces

Functions

string
artisan_binary()

Determine the proper Artisan executable.

CarbonInterval
days(int $days)

Get the current date / time plus the given number of days.

DeferredCallbackCollection
defer(callable|null $callback = null, string|null $name = null, bool $always = false)

Defer execution of the given callback.

enum_value(TValue $value, $default = null)
internal

Return a scalar value for the given value that might be an enum.

CarbonInterval
hours(int $hours)

Get the current date / time plus the given number of hours.

CarbonInterval
minutes(int $minutes)

Get the current date / time plus the given number of minutes.

CarbonInterface
now(DateTimeZone|UnitEnum|string|null $tz = null)

Create a new Carbon instance for the current time.

string
php_binary()

Determine the PHP Binary.

CarbonInterval
seconds(int $seconds)

Get the current date / time plus the given number of seconds.

CarbonInterval
years(int $years)

Get the current date / time plus the given number of years.