Skip to content

Commit 1ef101d

Browse files
committed
:octocat:
1 parent 55b4cb6 commit 1ef101d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Profit!
5252
## Usage
5353

5454
The `SettingsContainerInterface` (wrapped in`SettingsContainerAbstract` ) provides plug-in functionality for immutable object variables and adds some fancy, like loading/saving JSON, arrays etc.
55-
It takes iterable as the only constructor argument and calls a method (`MyTrait::MyTrait()`) for each used trait on invocation.
55+
It takes iterable as the only constructor argument and calls a method with the trait's name on invocation (`MyTrait::MyTrait()`) for each used trait.
5656

5757
### Simple usage
5858
```php
@@ -91,7 +91,8 @@ trait SomeOptions{
9191
protected $foo;
9292
protected $what;
9393

94-
// this method will be called in SettingsContainerAbstract::construct() after the properties have been set
94+
// this method will be called in SettingsContainerAbstract::construct()
95+
// after the properties have been set
9596
protected function SomeOptions(){
9697
// just some constructor stuff...
9798
$this->foo = strtoupper($this->foo);

0 commit comments

Comments
 (0)