DRYer function argument checking 04

Just a quick update to the Args package.

My check, my exception

I’ve added the possibility to specify the exception class that will be thrown, be it globally defined or part of a namespace, when an argument will not pass the set checks.
It can be specified via the set_excpetion() static method like

Arg::set_exception('MyException');

or, for namespaced exception classes:

Arg::set_exception('some\name\space\MyException');

Compose it

I’ve published the package on Packagist so Composer is the fastest way to get hold of it.