Author: noel
Date: 2010-02-11 18:15:10 +0100 (Thu, 11 Feb 2010)
New Revision: 27908
Modified:
plugins/sfDependencyInjectionContainerPlugin/trunk/README
Log:
[sfDependencyInjectionContainerPlugin] updated README
Modified: plugins/sfDependencyInjectionContainerPlugin/trunk/README
===================================================================
--- plugins/sfDependencyInjectionContainerPlugin/trunk/README 2010-02-11
17:13:13 UTC (rev 27907)
+++ plugins/sfDependencyInjectionContainerPlugin/trunk/README 2010-02-11
17:15:10 UTC (rev 27908)
@@ -15,9 +15,29 @@
$ symfony cache:clear
+ * Activate the plugin in the `config/ProjectConfiguration.class.php`:
+
+ [php]
+ class ProjectConfiguration extends sfProjectConfiguration
+ {
+ public function setup()
+ {
+ $this->enablePlugins(array(
+ /* ... */
+ 'sfDependencyInjectionContainerPlugin',
+ ));
+ }
+ }
+
+>**NOTE**
+>This plugin must be enabled last to be able to register events and create
services through the symfony event dispatcher.
+
+
+
+
Documentation
-------------
-
+
### Bind your own services
Thanks to the sfEventDispatcher bundled with Symfony, this plugin notify an
event after the service container initialization.
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.