Commit Graph

21 Commits

Author SHA1 Message Date
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
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
Fabien Potencier
0e3b88a058 [DependencyInjection] fixed inheritence when using extensions 2010-06-22 17:27:49 +02:00
Fabien Potencier
b057ef613f [DependencyInjection] changed the extension mechanism to allow an extension to be inherit and merge from an existing configuration 2010-06-07 09:24:13 +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
c1e357d200 Fixed @package and @subpackage phpdoc tags 2010-04-07 07:06:21 +02:00
Pascal Borreli
12690a8e92 fixed @throws phpdoc tag 2010-04-05 11:48:31 +02:00
Fabien Potencier
5d8529740a [DependencyInjection] added the extension files in the list of loaded resources 2010-02-12 17:44:52 +01:00
sensio
6b03670de6 [YAML] renamed YAML component to Yaml 2010-02-11 14:44:20 +01:00
Fabien Potencier
7a26b42f19 [DependencyInjection] added annotations support in the service Definition 2010-02-09 09:45:23 +01:00
Fabien Potencier
ab7533e6c0 [DependencyInjection] removed unneeded cast 2010-01-19 14:11:57 +01:00
Fabien Potencier
bb3340d950 [DependencyInjection] added autodetection of resource format when importing a resource in an XML or YAML file 2010-01-18 09:19:39 +01:00
Fabien Potencier
53980bb55e [DependencyInjection] added a way to retrieve loaded resources 2010-01-18 09:08:37 +01:00
Fabien Potencier
e9e2899cda [DependencyInjection] simplified loaders (the load method only accept one resource now) 2010-01-17 11:16:50 +01:00
Fabien Potencier
b333379e5c [DependencyInjection] fixed PHPDoc 2010-01-15 14:07:23 +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