Helpers
final class Helpers
internal |
Constants
PreventMerging |
|
Methods
static mixed
merge(mixed $value, mixed $base)
Merges dataset. Left has higher priority than right one.
static string
formatValue(mixed $value)
No description
static void
static void
static bool
isInRange(mixed $value, array $range)
No description
static void
static Closure
getCastStrategy(string $type)
No description
Details
at line 28
static mixed
merge(mixed $value, mixed $base)
Merges dataset. Left has higher priority than right one.
at line 57
static string
formatValue(mixed $value)
No description
at line 73
static void
validateType(mixed $value, string $expected, Context $context)
No description
at line 87
static void
validateRange(mixed $value, array $range, Context $context, string $types = '')
No description
at line 113
static bool
isInRange(mixed $value, array $range)
No description
at line 120
static void
validatePattern(string $value, string $pattern, Context $context)
No description
at line 132
static Closure
getCastStrategy(string $type)
No description
Traits
StaticClass