Namespaces

Classes

Arr

Carbon's immutable magic modifier metadata names its base class even though these methods preserve subclasses at runtime.

Provides access to protected and private members of an object.

Core framework service providers loaded for every Hypervel application.

Env

Guesses the MIME type using the PECL extension FileInfo.

Js

ProcessUtils is a bunch of utility methods.

Serializable version of SplPriorityQueue.

Str

Cached string transformations for known-finite inputs.

System information utilities for benchmarking and diagnostics.

Uri
Xml

Interfaces

Some transformations may return a base collection when an implementation cannot preserve its concrete item contract.

Functions

string
artisan_binary()

Determine the proper Artisan executable.

at line 28
CarbonInterval
days(int|float $days)

Create an interval of the given number of days.

at line 146
defer(callable|null $callback = null, string|null $name = null, bool $always = false)

Defer execution of the given callback.

at line 38
BackedEnum
enum_from(string $enum, mixed $value)
internal

Create a backed enum from the given value.

at line 86
BackedEnum|null
enum_try_from(string $enum, mixed $value)
internal

Attempt to create a backed enum from the given value.

at line 23
mixed
enum_value(mixed $value, mixed $default = null)
internal

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

at line 109
CarbonInterval
hours(int|float $hours)

Create an interval of the given number of hours.

at line 125
CarbonInterval
microseconds(int|float $microseconds)

Create an interval of the given number of microseconds.

at line 73
CarbonInterval
milliseconds(int|float $milliseconds)

Create an interval of the given number of milliseconds.

at line 81
CarbonInterval
minutes(int|float $minutes)

Create an interval of the given number of minutes.

at line 106
CarbonInterval
months(int $months)

Create an interval of the given number of months.

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

Create a new configured Carbon instance for the current time.

at line 65
string
php_binary()

Determine the PHP Binary.

at line 20
CarbonInterval
seconds(int|float $seconds)

Create an interval of the given number of seconds.

at line 89
int
swoole_hook_flags()

Get the Swoole hook flags for coroutine support.

at line 55
CarbonInterval
weeks(int $weeks)

Create an interval of the given number of weeks.

at line 170
CarbonInterval
years(int $years)

Create an interval of the given number of years.

at line 186