On 11.03.2011, at 11:56, Miha Vrhovnik wrote:
> While we are at this.
>
> Having code below in extension load method as written by Dan doesn't actually
> work:
> $namespaces =
> $configuration->getParameter('validator.annotations.namespaces');
> $namespaces['validationStore'] =
> 'Application\\StoreBundle\\Validator\\Constraints\\';
> $configuration->setParameter('validator.annotations.namespace',
> $namespaces);
>
> I hate having namespace definition in main config.yml (works)
> validation:
> enabled: true
> annotations: true
> namespaces:
> validationStore: Application\StoreBundle\Validator\Constraints\
btw .. this trailing backslash is something i stumbled over in the beginning.
not sure if it makes sense to just automatically add the backslash or to rename
the setting to ns_prefix
regards,
Lukas Kahwe Smith
[email protected]
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en