Skip to content

Commit

Permalink
Moved the bundle to EWZ\Bundle\RecaptchaBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
excelwebzone authored and excelwebzone committed Mar 9, 2011
1 parent 40a9fb0 commit d04832f
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion 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;
Expand Down
2 changes: 1 addition & 1 deletion 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;
Expand Down
2 changes: 1 addition & 1 deletion EWZRecaptchaBundle.php
@@ -1,6 +1,6 @@
<?php

namespace EWZ\RecaptchaBundle;
namespace EWZ\Bundle\RecaptchaBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;

Expand Down
2 changes: 1 addition & 1 deletion 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;
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -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(),
// ...
);
}
Expand All @@ -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\

...

Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion 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;

Expand Down
2 changes: 1 addition & 1 deletion 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;
Expand Down

0 comments on commit d04832f

Please sign in to comment.