Helpers
final class Helpers
internal |
Constants
PreventMerging |
|
PREVENT_MERGING |
|
Methods
static array|string
merge($value, $base)
Merges dataset. Left has higher priority than right one.
static string|null
static string|null
static string
formatValue(mixed $value)
No description
static void
static void
static bool
isInRange($value, array $range)
No description
static void
static Closure
getCastStrategy(string $type)
No description
Details
at line 31
static array|string
merge($value, $base)
Merges dataset. Left has higher priority than right one.
at line 60
static string|null
getPropertyType(ReflectionProperty $prop)
No description
at line 81
static string|null
parseAnnotation(Reflector $ref, string $name)
Returns an annotation value.
at line 99
static string
formatValue(mixed $value)
No description
at line 113
static void
validateType($value, string $expected, Context $context)
No description
at line 127
static void
validateRange($value, array $range, Context $context, string $types = '')
No description
at line 153
static bool
isInRange($value, array $range)
No description
at line 160
static void
validatePattern(string $value, string $pattern, Context $context)
No description
at line 172
static Closure
getCastStrategy(string $type)
No description
Traits
StaticClass