Skip to content

Dhii/args-list-validation

Repository files navigation

Dhii - Args List Validator

Build Status Code Climate Test Coverage Latest Stable Version Latest Unstable Version This package complies with Dhii standards

Details

This package contains functionality for validation of a list of values against a specification. Currently, this specification is accepted in the form of a list of ReflectionParameter criteria, which is typically retrieved via ReflectionFunctionAbstract#getParameters(). Thus, it is possible to validate a list of arguments to determine whether any function or method can be invoked with it - without actually invoking.

It is also possible to use functionality in this package to determine whether any individual value matches a type criterion in the form of a ReflectionType, which is typically retrieved via ReflectionParameter#getType().

Traits

About

Validation of an arguments list

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages