Skip to content

Commit c8daf0e

Browse files
author
Sebastian Michaelsen
committed
Configuration options for MailerService
1 parent c19503b commit c8daf0e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

in-depth_documentation/configuration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ Line 11 reads the `server_url` from the section `application` and assigns it to
8989
| db.migrator.enable | false | If true the DB migrator is invoked on every page call |
9090
| debug_mode | false | Enables PHP error_reporting `E_ALL` and should also be used by your application to decide wether to output debugging information |
9191
| echo_output | true | Set to *false* if you don't want to echo the output. In any case you'll get back the output from the `\AppZap\PHPFramework\Bootstrap::bootstrap()` method in your `index.php`|
92+
| mail.smtp_encryption | ssl | SMTP encryption. `ssl`, `tls` and `none` are supported |
93+
| mail.smtp_host | | Host for SMTP connection to send mails |
94+
| mail.smtp_password | | SMTP password |
95+
| mail.smtp_port | 465 or 587 | SMTP port. By default will be guessed based on the `mail.smtp_encryption`. |
96+
| mail.smtp_user | | SMTP username |
9297
| plugins.*&lt;ARRAY&gt;* | | The keys are the PHP namespaces of the plugins that you are using in your installation and the value is `1`if you want to activate it. Example:<br>`plugins.MyVendor\MyPackage\FirstPlugin = 1`<br>`plugins.MyVendor\MyPackage\SecondPlugin = 0`<br>Will result in the first plugin being loaded and the second not. You can get the Plugin namespaces from the README files of the plugin packages you're using (hopefully). |
9398
| powered_by | true | Adds a HTML comment to the output with a hint to PHPFramework |
9499
| template_file_extension | `.twig` / `.html` | By default PHPFramwork uses the `TwigView` to render templates. Then `.twig` will be the default template file extension.<br>If you use your own view class based on `AbstractView` then `.html` will be the default template file extension. |

in-depth_documentation/ddd_collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It has useful methods to operate on its containing models:
1313
| method | description |
1414
| ------ | ----------- |
1515
| `add(AbstractModel $model)` | Adds a model to the collection. *Notice that the objects will be stored by reference (PHP's standard behaviour on passed objects). If you alter your object after storing it in the collection, the stored object is also altered (it is the same object)*. |
16-
| `remove_item(AbstractModel $model)` | If `$model` is present in the collection, it will be removed from it. |
16+
| `remove(AbstractModel $model)` | If `$model` is present in the collection, it will be removed from it. |
1717
| `removeItems(AbstractModelCollection $itemsToRemove)` | Removes the given set of items from the collection |
1818
| `get_by_id($id)` | Returns the model with the given `$id` or `NULL` if it wasn't found. |
1919
| `count()` | Returns the amount of contained models |

0 commit comments

Comments
 (0)