Skip to content

Commit

Permalink
Added Config::apend() documentation to README
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed Mar 16, 2020
1 parent e3dd573 commit ea402aa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,25 @@ $config->append('tags', 'baz'); // ['baz', 'foo', 'bar']

---

### unset
> Unset a configuration option via a provided key.

```php
Config::unset( string $key ) : bool
```

| Parameter | Description |
| --------- | -------------------------------- |
| `$key` | Unique configuration option key |

#### Example

```php
$config->unset('hostname');
```

---

### load
> Load configuration options from a file or directory.

Expand Down

0 comments on commit ea402aa

Please sign in to comment.