public function remove($domain)
    {
        if (!$this->has($domain)) {
            throw new \InvalidArgumentException(sprintf(
                'Cannot remove the "%s" filesystem as it is not defined.',
                $domain
            ));
        }

        unset($this->filesystems[$domain]);
    }
public function remove($domain)
    {
        if (!$this->has($domain)) {
            throw new \InvalidArgumentException(sprintf(
                'Cannot remove the "%s" filesystem as it is not defined.',
                $domain
            ));
        }

        unset($this->filesystems[$domain]);
    }
public function remove ( $ domain ) { if ( ! $ this -> has ( $ domain ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Cannot remove the "%s" filesystem as it is not defined.' , $ domain ) ) ; } unset ( $ this -> filesystems [ $ domain ] ) ; }
Removes the filesystem registered for the specified domain.

@param string $domain
Removes the filesystem registered for the specified domain .