Commit Graph

22 Commits

Author SHA1 Message Date
Fabien Potencier
1dd5b61e17 [DependencyInjection] added a check for the class name when dumping a container to PHP 2010-07-16 20:55:22 +02:00
Fabien Potencier
ca8762141f [DependencyInjection] added a check for the class name when dumping a container to PHP 2010-07-16 17:45:10 +02:00
Fabien Potencier
7796eb213c merged BuilderConfiguration and Builder classes into a new ContainerBuilder class 2010-07-15 15:20:41 +02:00
Fabien Potencier
8d067bac51 [DepedencyInjection] amended previous commit
* fixed coding standards
 * made class optional as it is not defined when using a factory service
 * renamed factory attributes in XML files, updated XSD
 * removed the factory-class as it does nothing more than the regular class attribute
 * moved usage of Reflection as 'class' is not defined when a factory-service is used
 * added more tests
 * fixed PHP dumper
2010-07-05 11:08:56 +02:00
Benjamin Eberlei
ef91396618 [DependencyInjection] Add factory-class and factory-service concepts to DI Definition. A factory-class is a class-name for the static creation method of a service. A factory-service is the service object that has a factory method to construct a given service. Added tests. Changed Xml, Yaml Dumper and Loaders, PHP Dumper, aswell as the Runtime Builder Container. Graphviz changes missing! 2010-07-05 11:08:36 +02:00
Fabien Potencier
27458b653e [DependencyInjection] removed @property annotations as services are not available as properties anymore 2010-07-05 11:08:27 +02:00
Fabien Potencier
4bbf2ae055 [DependencyInjection] renamed constructor to factory method (like in Spring) 2010-07-05 09:47:47 +02:00
Fabien Potencier
9895eaf3cb refactored DIC 2010-06-27 19:21:18 +02:00
Jordi Boggiano
9ed3d0468e folded all curly brackets of control structures to conform to PEAR/ZF CS, part two 2010-05-09 09:15:22 +02:00
Jordi Boggiano
2684de0d8e Folded all curly brackets of control structures to conform to PEAR/ZF CS 2010-05-07 18:24:05 +02:00
Fabien Potencier
83c6d337e2 changed coding standards: indendation is now 4 spaces 2010-05-06 13:25:53 +02:00
Pascal Borreli
b5089133d2 fixed typos and phpdoc 2010-04-24 09:25:44 +02:00
Pascal Borreli
c1e357d200 Fixed @package and @subpackage phpdoc tags 2010-04-07 07:06:21 +02:00
Fabien Potencier
17d4e1538f [DependencyInjection] store references to shared services as soon as possible to avoid circular references on legal code 2010-03-01 18:37:22 +01:00
Fabien Potencier
0cfdf2cbda [DependencyInjection] fixed namespace problem when dumping to PHP 2010-02-09 11:35:07 +01:00
Fabien Potencier
7a26b42f19 [DependencyInjection] added annotations support in the service Definition 2010-02-09 09:45:23 +01:00
Fabien Potencier
9b3eec8861 [DependencyInjection] made a small speed optimization 2010-01-31 20:32:51 +01:00
Fabien Potencier
ce6f676eb2 [DependencyInjection] made another speed optimization 2010-01-21 22:00:29 +01:00
Fabien Potencier
c9d0a73fe3 [DependencyInjection] made a speed optimization 2010-01-21 21:29:22 +01:00
Fabien Potencier
c0152e1bba [DependencyInjection] disable the possibility to have a reference in parameters (as it breaks as soon as you want to use the PHP dumper with no solution - performance wise) 2010-01-18 14:01:29 +01:00
Dennis Benkert
b720687445 deleted phpdoc @version tag in DependencyInjection component 2010-01-05 11:10:42 +01:00
Fabien Potencier
65d0750168 added some Symfony 2 components 2010-01-04 15:26:20 +01:00