Commit graph

4 commits

Author SHA1 Message Date
Graham Campbell ae056920b4 PSR-4 autoloading 2014-07-12 20:20:43 +01:00
nickl- cb5d578c69 Whitespace fixes only 2013-01-25 05:18:02 +02:00
Henrique Moody 6c007df1d1 Fixed coding standards.
Coding standards must be follow PSR-1 and PSR-2.
2013-01-14 19:55:03 -02:00
Carlos André Ferrari f2c723f869 Added Base validator
This validator is made to validate numbers in any base, even with custom bases

It also have a shortcut, you can use something like
v::base3()->assert('0212');
instead of
v::base(3)->assert('0212');

You can also use custom numeric sequences, like
v::base(3, 'xy')->assert('xyxyx');
2012-07-22 10:17:31 -03:00