Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moved the bundle to EWZ\Bundle\RecaptchaBundle

  • Loading branch information...
commit d04832f7b9d25a7a6ce22a4a570c7612935caf9c 1 parent 40a9fb0
excelwebzone authored
View
2  DependencyInjection/Configuration.php
@@ -1,6 +1,6 @@
<?php
-namespace EWZ\RecaptchaBundle\DependencyInjection;
+namespace EWZ\Bundle\RecaptchaBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\NodeBuilder;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
View
2  DependencyInjection/EWZRecaptchaExtension.php
@@ -1,6 +1,6 @@
<?php
-namespace EWZ\RecaptchaBundle\DependencyInjection;
+namespace EWZ\Bundle\RecaptchaBundle\DependencyInjection;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
View
2  EWZRecaptchaBundle.php
@@ -1,6 +1,6 @@
<?php
-namespace EWZ\RecaptchaBundle;
+namespace EWZ\Bundle\RecaptchaBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
View
2  Form/RecaptchaField.php
@@ -1,6 +1,6 @@
<?php
-namespace EWZ\RecaptchaBundle\Form;
+namespace EWZ\Bundle\RecaptchaBundle\Form;
use Symfony\Component\Form\Field;
use Symfony\Component\Form\Exception\FormException;
View
6 README.md
@@ -14,7 +14,7 @@ You can download it from here http://excelwebzone.github.com/RecaptchaBundle
{
return array(
// ...
- new EWZ\RecaptchaBundle\EWZRecaptchaBundle(),
+ new EWZ\Bundle\RecaptchaBundle\EWZRecaptchaBundle(),
// ...
);
}
@@ -38,7 +38,7 @@ If you use secure url for reCAPTCHA put true in secure.
enabled: true
annotations:
namespaces:
- recaptcha: EWZ\RecaptchaBundle\Validator\Constraints\
+ recaptcha: EWZ\Bundle\RecaptchaBundle\Validator\Constraints\
...
@@ -53,7 +53,7 @@ Use in forms
In your form class add following lines
- use use EWZ\RecaptchaBundle\Form\RecaptchaField;
+ use EWZ\Bundle\RecaptchaBundle\Form\RecaptchaField;
When you create form (if you create it in separated class not in the controller)
you need pass container into the method that preparing form.
View
2  Validator/Constraints/Recaptcha.php
@@ -1,6 +1,6 @@
<?php
-namespace EWZ\RecaptchaBundle\Validator\Constraints;
+namespace EWZ\Bundle\RecaptchaBundle\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
View
2  Validator/Constraints/RecaptchaValidator.php
@@ -1,6 +1,6 @@
<?php
-namespace EWZ\RecaptchaBundle\Validator\Constraints;
+namespace EWZ\Bundle\RecaptchaBundle\Validator\Constraints;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Validator\Constraint;
Please sign in to comment.
Something went wrong with that request. Please try again.