Richard Miller
2a9805eec1
[FrameworkBundle] Adding a option to debug services by tag
2012-10-16 10:40:21 +02: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
c5346610f3
Merge branch '2.0'
...
* 2.0:
Fixes incorrect class used in src/Symfony/Bundle/FrameworkBundle/Console/Application.php
[FrameworkBundle] added test for fix broken command registration
corrected phpdoc
2012-08-03 14:44:30 +02:00
lsmith77
4563397c0a
corrected phpdoc
2012-08-03 11:27:08 +02:00
Fabien Potencier
7a5f614240
merged 2.0
2012-08-03 11:11:11 +02:00
lsmith77
3605c54f9d
removed unused private property
2012-08-03 10:28:23 +02:00
lsmith77
d4a78a21de
fix phpdoc statement of getAlias()
2012-08-03 10:28:07 +02:00
Fabien Potencier
d100ffaf76
fixed CS
2012-07-09 14:54:20 +02:00
Fabien Potencier
03d22b74ec
fixed CS (mainly method signatures)
2012-07-09 14:43:50 +02:00
avorobiev
19bdae1b90
[DependencyInjection] Fixed unescaping of class arguments
2012-07-02 18:10:38 +04: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
Fabien Potencier
5d6a7d35b0
merged 2.0
2011-12-18 14:48:17 +01:00
Fabien Potencier
4316595dbb
fixed CS
2011-12-18 14:42:59 +01: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
47256ea76f
[DependencyInjection] Make exceptions consistent when ContainerBuilder is frozen
...
Some methods previously threw LogicExceptions when the ContainerBuilder was frozen. Using BadMethodCallException (a descendant of LogicException) in all cases improves consistency and preserves BC.
2011-12-04 22:21:11 -08:00
Jeremy Mikola
b7300d2e07
[DependencyInjection] Fix up @throws documentation
2011-12-04 22:21:11 -08: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
dec43f5539
merged 2.0
2011-10-29 12:01:39 +02:00
Fabien Potencier
851eb73778
removed unused use statements
2011-10-29 11:56:30 +02:00
Daniel Holmes
84808f40b3
[DependencyInjection] Removed unused property
...
Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
2011-10-01 00:46:18 +10:00
Johannes M. Schmitt
a1491e8b54
added some missing accessors/mutators
2011-09-16 13:43:09 +02:00
Fabien Potencier
97cb35b47a
[DependencyInjection] tagged the public @api
2011-07-20 10:50:27 +02:00
Fabien Potencier
be31bc091e
[DependencyInjection] made a small performance optimization
2011-07-11 17:55:12 +02:00
Arnaud Le Blanc
e6a2d76366
delay resolving values of extensions config until all files are loaded
2011-07-09 18:03:05 +02:00
Victor Berchet
2af2260c34
Remove useless code
2011-07-04 14:08:20 +02:00
Fabien Potencier
c3bb214e94
[DependencyInjection] removed injection for protected and private properties
2011-06-27 08:28:54 +02:00
Pascal Borreli
46cdf02750
[Various] Fixed typo
2011-05-29 14:19:02 +00:00
everzet
b6ce137e2d
[DependencyInjection] create inlined private service from it's definition
2011-05-23 23:00:38 +03:00
Johannes Schmitt
2c287676fb
[DependencyInjection] fixes a bug when requesting a definition that uses property injection
2011-05-03 23:46:02 +02:00
Eriksen Costa
164ce5210d
capitalized 'boolean'
2011-04-27 02:35:10 -03:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Lukas Kahwe Smith
d9491a743e
removed support for interface injection as well as all relevant tests
2011-04-23 11:42:31 +02:00
Kris Wallsmith
470baaab9f
[DependencyInjection] renamed ContainerBuilder::remove() as removeDefinition() to be more consistent with other definition-related methods
2011-04-20 04:48:19 -07:00
Fabien Potencier
cedf588e98
Revert "Merge remote branch 'kriswallsmith/dic/lazy-replace-ext-params'"
...
This reverts commit 32ac2e8709
, reversing
changes made to 6e81c28ca4
.
2011-03-11 15:35:09 +01:00
Fabien Potencier
f321fadad6
[DependencyInjection] moved most protected things to private
2011-03-11 14:50:46 +01:00
Kris Wallsmith
f33cf0ba5d
Removed replacement of parameter placeholders at load time since they're now replaced at compile time. Extensions should be written to expect parameter placeholders.
...
Revert "[DependencyInjection] Allow parameter replacement within extension configurations."
This reverts commit ab7ad4808b
.
Conflicts:
src/Symfony/Component/DependencyInjection/ContainerBuilder.php
2011-03-10 12:59:00 -08:00
Kris Wallsmith
de6c353b40
[DependencyInjection] made compiler lazy again since there are many temporary ContainerBuilder objects that don't use it
2011-03-08 05:34:07 -08:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Kris Wallsmith
bf0553c23a
[DependencyInjection] extensions should only load if called during configuration
2011-03-03 13:53:29 +01:00
Fabien Potencier
a29a413c48
made DIC extensions members of the Container instead of static members
2011-02-15 22:22:32 +01:00
Fabien Potencier
62e3053769
refactored previous commit, fixed tests
...
How to upgrade?
For XML configuration files:
* All extensions should now use the config tag (this is just a convention as
the YAML configurations files do not use it anymore):
* The previous change means that the doctrine and security bundles now are
wrapped under a main "config" tag:
<doctrine:config>
<doctrine:orm />
<doctrine:dbal />
</doctrine:config>
<security:config>
<security:acl />
...
</security:config>
For YAML configuration files:
* The main keys have been renamed as follows:
* assetic:config -> assetic
* app:config -> framework
* webprofiler:config -> web_profiler
* doctrine_odm.mongodb -> doctrine_mongo_db
* doctrine:orm -> doctrine: { orm: ... }
* doctrine:dbal -> doctrine: { dbal: ... }
* security:config -> security
* security:acl -> security: { acl: ... }
* twig.config -> twig
* zend.config -> zend
2011-02-15 22:22:28 +01:00
Lukas Kahwe Smith
7f182bd877
implicitly load all registered bundles, all loading is now handled by load(), disable loading of an extension explcitly via setting the extension config to false (for now only Yaml is implemented)
2011-02-15 22:11:08 +01:00
Fabien Potencier
4972bf6350
[DependencyInjection] made getXsdValidationBasePath() and getNamespace() methods from DIC Extension class optional
...
This has been changed so that people that do not use XML for their own extensions do
not need to bother implementing these two methods.
2011-02-15 04:14:48 +01:00
Tim Nagel
7173764dc1
[Dependency Injection] PHPDoc
2011-02-14 11:16:04 +01:00
Fabien Potencier
5c905beb13
moved common configuration classes to a new Config component
2011-02-13 22:31:50 +01:00
Jordi Boggiano
98e035b963
[DepdenencyInjection] Prevent self-referencing aliases
2011-02-12 21:58:00 +01:00
Fabien Potencier
b91f082be5
Revert "moved Resource to the Config component"
...
This reverts commit f53080860a
.
Revert "[Router] config fixes"
This reverts commit 51beecc6f2
.
Revert "moved duplicated files to a new Config component"
This reverts commit a8ec9b27f0
.
2011-02-10 16:14:12 +01:00