Closed nathggns closed 12 years ago
The ability to set required fields, so if data isn't found, it raises an error.
<?php $validator = new Validate(); $validator->required('password'); $validator->set('username', 'alphanumeric'); $validator->test(['username' => 'nathaniel']); // Raises ExceptionValidate
The ability to set required fields, so if data isn't found, it raises an error.