From ea402aac0d61ad755b27e7a1651fc91dda67e66b Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Mon, 16 Mar 2020 11:41:21 -0700 Subject: [PATCH] Added Config::apend() documentation to README --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index c6a4d63..222fa48 100644 --- a/README.md +++ b/README.md @@ -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.