From 5f04a7f9fffe910ce4ae454aee0735523dcd84bb Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Tue, 3 Jul 2012 08:41:08 -0500 Subject: [PATCH] [zendframework/zf2#1706] Move plugin registration - Removed Zend\I18n\Validator\ValidatorPluginManager - Added Iban and PostCode validators to Zend\Validator\ValidatorPluginManager --- src/ValidatorPluginManager.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ValidatorPluginManager.php b/src/ValidatorPluginManager.php index 8edde26b2..48a9d5109 100644 --- a/src/ValidatorPluginManager.php +++ b/src/ValidatorPluginManager.php @@ -99,6 +99,7 @@ class ValidatorPluginManager extends AbstractPluginManager 'greaterthan' => 'Zend\Validator\GreaterThan', 'hex' => 'Zend\Validator\Hex', 'hostname' => 'Zend\Validator\Hostname', + 'iban' => 'Zend\I18n\Validator\Iban', 'identical' => 'Zend\Validator\Identical', 'inarray' => 'Zend\Validator\InArray', 'int' => 'Zend\Validator\Int', @@ -106,6 +107,7 @@ class ValidatorPluginManager extends AbstractPluginManager 'isbn' => 'Zend\Validator\Isbn', 'lessthan' => 'Zend\Validator\LessThan', 'notempty' => 'Zend\Validator\NotEmpty', + 'postcode' => 'Zend\I18n\Validator\PostCode', 'regex' => 'Zend\Validator\Regex', 'sitemapchangefreq' => 'Zend\Validator\Sitemap\Changefreq', 'sitemaplastmod' => 'Zend\Validator\Sitemap\Lastmod',