File tree Expand file tree Collapse file tree 4 files changed +32
-1
lines changed
src/Symfony/Components/DependencyInjection/Loader/Extension Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ class DoctrineExtension extends LoaderExtension
27
27
/**
28
28
* Loads the DBAL configuration.
29
29
*
30
+ * Usage example:
31
+ *
32
+ * <doctrine:dbal dbname="sfweb" username="root" />
33
+ *
30
34
* @param array $config A configuration array
31
35
*
32
36
* @return BuilderConfiguration A BuilderConfiguration instance
Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ class SwiftMailerExtension extends LoaderExtension
27
27
/**
28
28
* Loads the Swift Mailer configuration.
29
29
*
30
+ * Usage example:
31
+ *
32
+ * <swift:mailer transport="gmail" delivery_strategy="spool">
33
+ * <swift:username>fabien</swift:username>
34
+ * <swift:password>xxxxx</swift:password>
35
+ * <swift:spool path="/path/to/spool/" />
36
+ * </swift:mailer>
37
+ *
30
38
* @param array $config A configuration array
31
39
*
32
40
* @return BuilderConfiguration A BuilderConfiguration instance
Original file line number Diff line number Diff line change 26
26
class SymfonyTemplatingExtension extends LoaderExtension
27
27
{
28
28
/**
29
- * Loads the template configuration.
29
+ * Loads the templating configuration.
30
+ *
31
+ * Usage example:
32
+ *
33
+ * <symfony:templating path="/path/to/templates" cache="/path/to/cache">
34
+ * <symfony:loader>symfony.templating.loader.filesystem</symfony:loader>
35
+ * <symfony:helper>symfony.templating.helper.javascripts</symfony:helper>
36
+ * <symfony:helper>symfony.templating.helper.stylesheets</symfony:helper>
37
+ * </symfony:templating>
30
38
*
31
39
* @param array $config A configuration array
32
40
*
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ class ZendExtension extends LoaderExtension
27
27
/**
28
28
* Loads the logger configuration.
29
29
*
30
+ * Usage example:
31
+ *
32
+ * <zend:logger priority="info" path="/path/to/some.log" />
33
+ *
30
34
* @param array $config A configuration array
31
35
*
32
36
* @return BuilderConfiguration A BuilderConfiguration instance
@@ -54,6 +58,13 @@ public function loggerLoad($config)
54
58
/**
55
59
* Loads the mail configuration.
56
60
*
61
+ * Usage example:
62
+ *
63
+ * <zend:mail transport="gmail">
64
+ * <zend:username>fabien</zend:username>
65
+ * <zend:password>xxxxxx</zend:password>
66
+ * </zend:mail>
67
+ *
57
68
* @param array $config A configuration array
58
69
*
59
70
* @return BuilderConfiguration A BuilderConfiguration instance
You can’t perform that action at this time.
0 commit comments