mirror of
https://github.com/Respect/Validation.git
synced 2026-03-18 08:09:51 +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
189 B
PHP
12 lines
No EOL
189 B
PHP
<?php
|
|
|
|
namespace Respect\Validation\Exceptions;
|
|
|
|
class ObjectException extends ValidationException
|
|
{
|
|
|
|
public static $defaultTemplates = array(
|
|
'"%s" is not an object',
|
|
);
|
|
|
|
} |