Tobias Schultze
f1c7c657a7
remove api tags from code
2015-09-28 19:11:22 +02:00
Graham Campbell
83c15db887
[2.3] CS And DocBlock Fixes
2014-12-22 16:58:09 +01:00
Graham Campbell
443307edc1
Docblock fixes
2014-11-30 13:33:44 +00:00
Fabien Potencier
e96b018805
fixed types in phpdocs
2014-04-16 12:30:19 +02:00
Fabien Potencier
3c9c10f3a0
made phpdoc types consistent with those defined in Hack
2014-04-15 07:41:45 +02:00
Fabien Potencier
0555b7f2ab
made types consistent with those defined in Hack
2014-04-13 20:00:14 +02:00
Marco Pivetta
78e3710de8
ProxyManager Bridge
2013-05-06 08:38:39 +02:00
Fabien Potencier
ec1e7ca6ac
[DependencyInjection] added a way to automatically update scoped services
...
A service can now be marked as synchronized; when set, all method calls
involving this service will be called each time this service is set.
When in a scope, methods are also called to restore the previous version of the
service.
2013-03-20 16:58:08 +01:00
Florin Patan
c2acc6c2cb
Fixed most of the docblocks/unused namespaces
2012-12-19 08:09:49 +01:00
Thomas Lallement
2379d86241
CS Fixes - Replaced "array of type" by "Type[]" in PHPDoc block
2012-11-19 13:58:52 +01: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
3bdf52a16a
fixed CS
2012-05-18 19:42:42 +02:00
Fabien Potencier
e173d79e34
fixed CS
2012-05-18 19:37:58 +02: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
Bilal Amarni
4a9a9d6eb8
fixed typo
2012-04-21 11:25:22 +02:00
Drak
80f96b7a1b
[DependencyInjection] Add ability to clear tags by name.
2012-04-14 11:56:21 +05:45
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
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
Dariusz Górecki
769c17bb95
Throw exceptions in case someone forgot to set method name in call.
...
Bug fix: yes
Feature add: no
Symfony2 tests pass: yes
Symfony2 tests added: yes
In general without this exception generated by php dumper container class, will cause PHP fatal error, bacause method call will look like this: `$instance->(/* arguments*/);`.
2011-11-30 15:59:17 +01:00
Fabien Potencier
97cb35b47a
[DependencyInjection] tagged the public @api
2011-07-20 10:50:27 +02:00
Victor Berchet
2af2260c34
Remove useless code
2011-07-04 14:08:20 +02:00
Fabien Potencier
2e9278993c
added Definition::getArgument() (very useful when unit testing a Container)
2011-04-28 11:26:10 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Kris Wallsmith
cdf706d357
[DependencyInjection] renamed Definition::setArgument() as replaceArgument() to be more specific
2011-04-20 04:47:44 -07:00
Fabien Potencier
f321fadad6
[DependencyInjection] moved most protected things to private
2011-03-11 14:50:46 +01:00
Fabien Potencier
a8d05746ff
Merge remote branch 'schmittjoh/propertyAnnotations'
...
* schmittjoh/propertyAnnotations:
[DependencyInjection] added some tests
[DependencyInjection] adds property injection
2011-03-11 13:12:12 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Johannes Schmitt
eb2eb2e47a
[DependencyInjection] adds property injection
2011-03-05 13:03:28 +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
Lukas Kahwe Smith
dd71501f54
some fixes by just "blindly" trying to make phpStorm code analysis happier
2011-02-04 19:30:28 +01:00
Johannes Schmitt
803dd58002
add definition inheritance support
2011-01-28 09:12:29 +01:00
Johannes M. Schmitt
e55f150fb7
adds hasTag() to Definition
2011-01-24 17:46:22 +01:00
Johannes M. Schmitt
0144dd86da
adds synthetic attribute to definitions
...
This attribute can be used to hint that the service is being injected
dynamically at runtime, and not constructed by the DIC.
2011-01-23 21:11:50 +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
Johannes M. Schmitt
84fa4b50db
adds setArgument to Definition
2011-01-19 21:48:56 +01:00
Dominique Bongiraud
64fb94c725
normalized license messages in PHP files
2011-01-18 08:07:46 +01:00
Fabien Potencier
fc96702483
[DependencyInjection] fixed generation of empty tags when getting a tag from a definition
...
This change removes a lot of noise in the dumped container.
2011-01-05 15:00:59 +01:00
Johannes Schmitt
db5e180d37
tweaked DI container
2010-12-30 15:59:52 +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
d17c2edb49
fixed perms
2010-08-30 20:46:16 +02:00
Noël GUILBERT
d40d1746e0
[ZendBundle] added an option to register zend logger as an error handler
2010-08-30 19:03:12 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00