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 29
static mixed
merge(mixed $value, mixed $base)
Merges dataset. Left has higher priority than right one.
at line 58
static string
formatValue(mixed $value)
No description
at line 74
static void
validateType(mixed $value, string $expected, Context $context)
No description
at line 88
static void
validateRange(mixed $value, array $range, Context $context, string $types = '')
No description
at line 114
static bool
isInRange(mixed $value, array $range)
No description
at line 121
static void
validatePattern(string $value, string $pattern, Context $context)
No description
at line 133
static Closure
getCastStrategy(string $type)
No description
Traits
StaticClass