mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
-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)
12 lines
No EOL
194 B
PHP
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',
|
|
);
|
|
|
|
} |