Skip to content

neyronius/assertvalidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP validation library for variables and function's arguments

AssertValidity is a library that allows you to validate variables and function/method arguments.

/**
 * 
 * @param string $a
 */
function test($a)
{
    AV::arg(__FUNCTION__, func_get_args());
}

test("1"); //ok

test(1); // InvalidArgumentException thrown

About

PHP validation library for variables and function's arguments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published