Permalink
Browse files

formatting

  • Loading branch information...
taylorotwell committed May 2, 2018
1 parent 66eae04 commit cbfb4fbf0784ac5eb08ce2effe8727f3428d5812
Showing with 15 additions and 13 deletions.
  1. +15 −13 src/Illuminate/Filesystem/FilesystemManager.php
@@ -325,19 +325,6 @@ 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.
*
@@ -369,6 +356,21 @@ public function getDefaultCloudDriver()
return $this->app['config']['filesystems.cloud'];
}
/**
* Unset the given disk instances.
*
* @param array|string $disk
* @return $this
*/
public function forgetDisk($disk)
{
foreach ((array) $disk as $diskName) {
unset($this->disks[$diskName]);
}
return $this;
}
/**
* Register a custom driver creator Closure.
*

0 comments on commit cbfb4fb

Please sign in to comment.