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
Fabien Potencier
f53080860a
moved Resource to the Config component
2011-02-10 16:07:42 +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 M. Schmitt
f3c2e98b25
lazy-load the compiler, and related objects
2011-01-27 21:06:49 +01:00
Johannes M. Schmitt
1d5b6ed908
adds scope to the DI container
2011-01-22 15:20:50 +01:00
Ryan Weaver
17f9162b89
[Standards] Changing many instances of "boolean" to "Boolean".
2011-01-21 09:53:24 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Fabien Potencier
b7d2528384
added a way for any extension to add classes to the class cache
2011-01-16 11:32:17 +01:00
Fabien Potencier
612dce873b
[DependencyInjection] added the possibility to pass the type of compiler pass in ContainerBuilder::addCompilerPAss
2011-01-16 10:20:13 +01:00
Fabien Potencier
d5c9f37982
[DependencyInjection] added compiler passes as resources
2011-01-16 10:20:10 +01:00
Fabien Potencier
5c64ca8a30
renamed Container::freeze() to Container::compile()
2011-01-16 08:12:36 +01:00
Johannes Schmitt
d1a2a65d19
[DependencyInjection] performance improvement, better analysis tools
2011-01-09 19:58:42 +01:00
Johannes Schmitt
3785a99b94
adds visibility to aliases
2011-01-07 15:58:48 +01:00
Jeremy Mikola
554c86c589
[DependencyInjection] Add hasInterfaceInjectorForClass(), which is helpful for extension loader methods
...
Additionally, doc blocks were added for the Container's InterfaceInjector methods, and the test case was modified to cover both add() methods
2011-01-07 14:33:06 +01:00
Fabien Potencier
eb4788e98e
[DependencyInjection] made service keys and aliases case insensitive (as method names are case insensitive in PHP)
2011-01-03 09:07:06 +01:00
Victor Berchet
b7db5482d7
Container builder tweaks
2011-01-03 08:48:25 +01:00
Johannes Schmitt
db5e180d37
tweaked DI container
2010-12-30 15:59:52 +01:00
Johannes Schmitt
a2105d44aa
slight compiler refactoring (RFC)
2010-12-20 20:11:13 +01:00
Johannes Schmitt
e49cc36339
This commit fixes two bugs:
...
- interfaces can now also be defined on containers which are built with an Extension
- interface injection can also be used on classes that require constructor arguments
2010-12-10 17:15:04 +01:00
Jonathan H. Wage
ab7ad4808b
[DependencyInjection] Allow parameter replacement within extension configurations.
2010-12-10 08:45:49 +01:00
Bulat Shakirzyanov
73331cf1c1
[DependencyInjection] Interface Injection implementation
2010-11-30 20:36:56 +01:00
Kris Wallsmith
f79e23ffb5
Removed all those spaces after @author that were bothering me so…
2010-10-18 16:55:41 +02:00
Fabien Potencier
af96c87104
[DependencyInjection] added methods to remove an alias and a definition from a ContainerBuilder instance
2010-09-02 12:20:20 +02:00
Fabien Potencier
b1e79963b1
[DependencyInjection] moved extension loading in the freezing process (opens more possibilities in the loading order of configs)
2010-08-24 16:25:08 +02:00
Fabien Potencier
ec8500bd64
[FrameworkBundle] added support for previous exceptions in the exception pages
2010-08-24 14:01:57 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00