Fabien Potencier
0d68470638
[FrameworkBundle] made a small cleanup
2011-05-22 08:47:38 +02:00
Johannes Schmitt
796d9af0c4
some updates
2011-05-16 22:26:24 +02:00
Arnaud Le Blanc
421a05f6b4
defined parameters to avoid unmet dependency
...
These parameters are set by the extension; but
validator.mapping.loader.annotation_loader.namespaces is not set when
annotations are disabled
2011-05-15 21:32:41 +02:00
Arnaud Le Blanc
e57e5537b6
Fixed validators config causing no validation to happen
...
The parameter in <argument type="collection">%parameter...%</argument>
was ignored due to type="collection".
2011-05-15 16:50:49 +02:00
Johannes Schmitt
2d8afd8dd6
Merge remote branch 'origin/master' into annotations
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
src/Symfony/Bundle/FrameworkBundle/Resources/config/validator.xml
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
2011-05-14 12:51:05 +02:00
Fabien Potencier
f7aea2a830
[FrameworkBundle] re-introduced parameters in the DIC for better overridability
2011-05-13 14:34:17 +02:00
Johannes Schmitt
7e26575bbd
[FrameworkBundle] added framework-wide annotation reader, updated validator tests
2011-04-29 15:54:44 +02:00
Johannes Schmitt
d151d2d4b8
added Annotations library
2011-04-28 23:09:08 +02:00
Kris Wallsmith
d0f45fd3b6
[FrameworkBundle] added configuration for caching validator metadata
2011-04-06 04:07:38 -07:00
Fabien Potencier
046e3637db
[FrameworkBundle] removed unused parameters
2011-04-01 08:32:31 +02:00
Fabien Potencier
eb21f5b76e
[FrameworkBundle] moved some validation related services to the XML services file
2011-04-01 08:26:19 +02:00
Fabien Potencier
33add37f7c
[FrameworkBundle] removed the validator.annotations.namespaces parameter
...
The parameter has been removed and the service moved to the XML file (for consistency).
The behavior is still the same as before as any non-public service
which is not referenced anywhere will be automatically removed by a
compiler pass.
2011-04-01 08:15:38 +02:00
Jeremy Mikola
553f5525a5
[FrameworkBundle] Change validator's annotation prefix from "validation" to "assert"
2011-03-30 20:04:18 -04:00
Fabien Potencier
07838c9612
[FrameworkBundle] removed the possibility to change the method name for validation static method loader (as it would break third-party bundles)
2011-03-30 23:21:17 +02:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Fabien Potencier
a1945ca9bc
fixed XML definitions
2011-01-25 17:13:34 +01:00
Johannes M. Schmitt
c5ef113b18
DI container optimization
2011-01-05 15:41:11 +01:00
Benjamin Eberlei
5aeb358721
[Validator] Made the namespace prefix for annotations configurable
...
Modified the framework bundle to use validation => Symfony\Component\Validator\Validator defaults.
Enhanced Framework Extension validator configuration to allow to extend this configuration with
user-specified annotations, for example:
validation:
enabled: true
annotations:
namespaces:
myprojectvalidator: MyProject\Validator\
to register @myprojectvalidator:Validator(...)
2010-11-16 07:28:02 +01:00
Kris Wallsmith
e1f842344e
[FrameworkBundle] added a DIC tag-based constraint validator factory
2010-10-16 08:34:40 +02:00
Fabien Potencier
866c306dc8
removed the message interpolator system in the Validator component (i18n management should be done globally, not in a specific component)
2010-09-24 16:41:28 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00
Fabien Potencier
15d439809c
renamed Symfony\Bundle\FoundationBundle to Symfony\Bundle\FrameworkBundle
2010-07-09 10:25:52 +02:00