Nicolas Grekas
998dedf788
[2.7] silence deprecations for getFactory*() BC layer
2015-01-07 08:44:59 +01:00
Nicolas Grekas
2856caed2f
[2.6] cleanup deprecated uses
2015-01-05 09:56:52 +01:00
Nicolas Grekas
f683a7a72c
[DependencyInjection] use/fix newest Definition::setFactory
2014-12-24 07:58:22 +01:00
Fabien Potencier
72c169e8a1
Merge branch '2.5' into 2.6
...
* 2.5:
[2.3] CS And DocBlock Fixes
[2.3] CS Fixes
[FrameworkBundle] Fixed Translation loader and update translation command.
[Console] remove « use » statement for PHP built-in exception classes.
[SecurityBundle] adds unit tests suite for SecurityDataCollector class.
Conflicts:
src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php
src/Symfony/Bundle/SecurityBundle/Tests/DataCollector/SecurityDataCollectorTest.php
src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php
src/Symfony/Component/Form/Form.php
src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
src/Symfony/Component/OptionsResolver/Options.php
src/Symfony/Component/OptionsResolver/OptionsResolver.php
src/Symfony/Component/Process/ProcessPipes.php
src/Symfony/Component/Stopwatch/Stopwatch.php
src/Symfony/Component/Translation/Loader/XliffFileLoader.php
src/Symfony/Component/Validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
2014-12-22 17:44:09 +01:00
Graham Campbell
83c15db887
[2.3] CS And DocBlock Fixes
2014-12-22 16:58:09 +01:00
Rouven Weßling
bd8531d2d8
added a new Syntax to define factories as callables.
2014-09-24 08:27:41 +02:00
Fabien Potencier
0555b7f2ab
made types consistent with those defined in Hack
2014-04-13 20:00:14 +02:00
Fabien Potencier
61dd06ea27
fixed CS
2013-10-30 09:30:20 +01:00
bronze1man
970ce2c413
[DependencyInjection] fixed #8570
2013-07-25 13:55:15 +08:00
Fabien Potencier
ff1b990075
merged 2.0
2012-09-17 22:41:57 +02:00
Christophe Coevoet
05f7f78332
Fixed the phpdoc in the DependencyInjection component
2012-09-08 00:56:45 +02:00
Fabien Potencier
3bdf52a16a
fixed CS
2012-05-18 19:42:42 +02:00
Fabien Potencier
e173d79e34
fixed CS
2012-05-18 19:37:58 +02:00
Fabien Potencier
41621e42e9
fixed phpdoc @param alignment
2012-05-15 22:19:31 +02:00
Fabien Potencier
ce9791246b
fixed phpdoc @param alignment
2012-05-15 18:56:32 +02:00
Eriksen Costa
013f998bb8
updated license blocks
2012-03-31 18:00:32 -03:00
Fabien Potencier
142cef21bb
merged 2.0
2011-12-13 16:12:53 +01:00
Fabien Potencier
e3421a0b1d
[DoctrineBridge] fixed some CS
2011-12-13 10:22:12 +01:00
Jeremy Mikola
123f514e06
[DependencyInjection] Use component-specific SPL exceptions
...
This replaces existing use of core SPL exceptions with the equivalent classes defined within the component. Although method documentation has been changed, this change should be BC since the component-specific SPL exceptions extend their core counterpart.
This commit purposely omits any changes to the PhpDumper, which throws several core SPL exceptions.
2011-12-04 22:21:11 -08:00
Fabien Potencier
65200aa86a
added missing license headers
2011-05-31 10:57:06 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Kris Wallsmith
cdf706d357
[DependencyInjection] renamed Definition::setArgument() as replaceArgument() to be more specific
2011-04-20 04:47:44 -07:00
Johannes M. Schmitt
6ea9fb16c7
[DependencyInjection] refactored code a bit, added some more logging messages
2011-04-14 21:01:37 +02:00
Fabien Potencier
f321fadad6
[DependencyInjection] moved most protected things to private
2011-03-11 14:50:46 +01:00
Fabien Potencier
a8d05746ff
Merge remote branch 'schmittjoh/propertyAnnotations'
...
* schmittjoh/propertyAnnotations:
[DependencyInjection] added some tests
[DependencyInjection] adds property injection
2011-03-11 13:12:12 +01:00
Amal Raghav
517735e581
fix for ignoring abstract definition
2011-03-11 10:36:48 +01:00
Johannes Schmitt
eb2eb2e47a
[DependencyInjection] adds property injection
2011-03-05 13:03:28 +01:00
Tim Nagel
7173764dc1
[Dependency Injection] PHPDoc
2011-02-14 11:16:04 +01:00
Jeremy Mikola
743f25a287
[DependencyInjection] Create explicit factoryClass property for Definitions
...
Previously, the Definition class was used both for type inference and factory construction (if factoryService was absent). This is fine for cases where classes create instances of themselves (e.g. getInstance() or create()), but leads to ambiguity when we have a separate factory class.
2011-02-05 20:39:42 +01:00
Johannes Schmitt
803dd58002
add definition inheritance support
2011-01-28 09:12:29 +01:00