respect-validation/library/Respect/Validation/Exceptions/StringException.php
Alexandre (@alganet) 5830711f5a Several Improvements:
-Simplified defaultTemplates on Exceptions
	-Exceptions now can be iterated and recursively iterated
	-Messages built by RecursiveTreeIterator (SPL), faster an simpler
	-attribute, key and composite exceptions message plays nicer (no redundant messages)
2011-01-30 22:17:06 -02:00

12 lines
No EOL
194 B
PHP

<?php
namespace Respect\Validation\Exceptions;
class StringException extends ValidationException
{
public static $defaultTemplates = array(
'"%s" is not a valid string',
);
}