public static function isValidPHPValue($value, InputType $type)
    {
        $errors = Value::coerceValue($value, $type)['errors'];

        return $errors
            ? array_map(
                static function (Throwable $error) {
                    return $error->getMessage();
                },
                $errors
            ) : [];
    }
public static function isValidPHPValue($value, InputType $type)
    {
        $errors = Value::coerceValue($value, $type)['errors'];

        return $errors
            ? array_map(
                static function (Throwable $error) {
                    return $error->getMessage();
                },
                $errors
            ) : [];
    }
public static function isValidPHPValue ( $ value , InputType $ type ) { $ errors = Value :: coerceValue ( $ value , $ type ) [ 'errors' ] ; return $ errors ? array_map ( static function ( Throwable $ error ) { return $ error -> getMessage ( ) ; } , $ errors ) : [ ] ; }
@deprecated as of 0.12 (Use coerceValue() directly for richer information)

@param mixed[] $value

@return string[]
@deprecated as of 0 . 12 ( Use coerceValue () directly for richer information )