Bernhard Schussek
642c119e0c
[OptionsResolver] Merged Options class into OptionsResolver
2014-10-22 11:07:34 +02:00
Bernhard Schussek
453882cd03
Revert "feature #11716 [OptionsResolver] Added a light-weight, low-level API for basic option resolving (webmozart)"
...
This reverts commit aa594450d2
, reversing
changes made to cc63edbfa8
.
2014-10-21 11:07:51 +02:00
Bernhard Schussek
90660255a2
[OptionsResolver] Added a light-weight, low-level API for basic option resolving
2014-09-12 12:25:18 +02:00
Fabien Potencier
e96b018805
fixed types in phpdocs
2014-04-16 12:30:19 +02:00
dantleech
e655120f05
Enforce sprintf for exceptions
2013-04-11 08:50:46 +02:00
Dariusz Górecki
7c47e34928
[CS Fix] Consistent coding-style of concatenation operator usage
2013-04-02 10:39:57 +01:00
Tobias Schultze
e2a50ef4bc
[OptionsResolver] fix normalizer without corresponding option
2012-08-27 05:42:35 +02:00
Tobias Schultze
5a53821ca3
[OptionsResolver] fix removing normalizers
2012-08-27 05:42:35 +02:00
Victor Berchet
a47922b4bf
[OptionsResolver] Fix Options::has() when the value is null
2012-07-30 09:38:43 +02:00
Bernhard Schussek
27ab56d8ee
[OptionsResolver] Removed LazyOption class and improved performance a tiny bit
2012-07-29 15:25:40 +02:00
Bernhard Schussek
d858f7bdf3
[OptionsResolver] Optimized previous values of a lazy option not to be evaluated if the second argument is not defined
2012-07-26 15:36:09 +02:00
Bernhard Schussek
8a338cb6fa
[OptionsResolver] Micro-optimization
2012-07-26 15:32:18 +02:00
Bernhard Schussek
e659f0e39d
[OptionsResolver] Improved the performance of normalizers
...
Normalizers are now stored in the Options instance only once. Previously,
normalizers were stored in Options upon resolving, which meant that
they were added a lot of time if the same resolver was used for many
different options arrays.
This improvement led to an improvement of 30ms on
advancedform.gpserver.dk/app_dev.php/taxclasses/1
2012-07-26 15:21:14 +02:00
Bernhard Schussek
610c602b06
[OptionsResolver] Slightly tweaked the performance of the Options class
2012-07-16 22:35:31 +02:00
Fabien Potencier
d100ffaf76
fixed CS
2012-07-09 14:54:20 +02:00
Fabien Potencier
77839690d9
changed getName() to name on all Reflection* object calls ( fixes #4555 , refs https://bugs.php.net/bug.php?id=61384 )
2012-06-12 14:23:19 +02:00
Bernhard Schussek
97de0041a1
[OptionsResolver] Added option type validation capabilities
2012-05-25 12:28:17 +02:00
Tobias Schultze
a54ea1b6b2
[OptionsResolver] small optimization in Options class
2012-05-24 05:32:58 +02:00
Fabien Potencier
1407f112fc
fixed CS
2012-05-20 18:17:03 +02:00
Fabien Potencier
41621e42e9
fixed phpdoc @param alignment
2012-05-15 22:19:31 +02:00
Bernhard Schussek
1c5f6c76c1
[OptionsResolver] Fixed issues mentioned in the PR comments
2012-05-14 19:35:41 +02:00
Bernhard Schussek
d60626efd5
[OptionsResolver] Fixed clear() and remove() method in Options class
2012-05-14 19:35:41 +02:00
Bernhard Schussek
2b46975e32
[OptionsResolver] Fixed Options::replace() method
2012-05-14 19:35:40 +02:00
Bernhard Schussek
16f7d20dff
[OptionsResolver] Improved implementation and clarity of the Options class
2012-05-14 19:35:40 +02:00
Bernhard Schussek
6ce68b1b05
[OptionsResolver] Removed reference to non-existing property
2012-05-14 19:35:40 +02:00
Bernhard Schussek
9c76750cb8
[OptionsResolver] Fixed doc and block nesting
2012-05-14 19:35:35 +02:00
Bernhard Schussek
256b7081a4
[OptionsParser] Renamed OptionsParser to OptionsResolver
2012-05-14 19:35:07 +02:00