Skip to content

Commit

Permalink
Merge branch 'patch-1' of https://github.com/fgilio/laravel-framework
Browse files Browse the repository at this point in the history
…into fgilio-patch-1
  • Loading branch information
taylorotwell committed May 2, 2018
2 parents 3c11e7a + 2c968e1 commit 66eae04
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Illuminate/Filesystem/FilesystemManager.php
Expand Up @@ -325,6 +325,19 @@ public function set($name, $disk)
$this->disks[$name] = $disk;
}

/**
* Unset the given disks instances.
*
* @param array $names
* @return void
*/
public function unset($names)
{
foreach ($names as $name) {
unset($this->disks[$name]);
}
}

/**
* Get the filesystem connection configuration.
*
Expand Down

0 comments on commit 66eae04

Please sign in to comment.