Bulat Shakirzyanov
21f088d86a
[DependencyInjection] replaced assertEquals(spl_object_hash()) with assertSame
2010-11-21 15:26:25 +01:00
Fabien Potencier
f6cc63c99c
removed ArrayAccess interface for Container and Controller
2010-11-15 10:05:28 +01:00
Fabien Potencier
53dd4e39c7
[DependencyInjection] changed the YAML notation for optional services from @@ to @?
2010-11-15 10:00:59 +01:00
Fabien Potencier
efed6005cb
[DependencyInjection] fixed PHP dumper
...
In the dumped PHP class, we must use get() and not get*Service() methods to get services.
That's because all calls must be managed by get(). From the outside, you can call
get*Service() because as they are protected, they are caught by the __call() method;
which is not the case obviously when it is used internally.
If not, if you override a service with set(), this won't work when a service
depends on this one (the default one will still be used).
2010-11-12 17:38:32 +01:00
Jeremy Mikola
0aba8ef720
[DependencyInjection] XmlFileLoader should allow "factory-service" attribute without "class" for <service>
2010-10-19 21:10:07 +02:00
Fabien Pennequin
c543692891
[DependencyInjection] Added tests for ContainerBuilder class
2010-10-18 16:51:04 +02:00
Fabien Pennequin
7225cf64b1
[DependencyInjection] Added tests for methods hasMethodCall and removeMethodCall of Definition class
2010-10-18 16:51:00 +02:00
Artur Kotyrba
308e85a5a7
Removed methods which implemented interfaces by throwing \LogicException('You must override...').
2010-10-17 07:54:18 +02:00
Kris Wallsmith
ef4f61bb9f
[DependencyInjection] Added TaggedContainerInterface to signature of generated container classes
2010-10-16 08:32:07 +02:00
Fabien Potencier
a432417ab9
[DependencyInjection] added a way to ignore errors when importing a non-existent file (useful when you want to include an optional service file)
2010-08-24 16:37:41 +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
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00