public function get($name)
    {
        if (!$this->has($name)) {
            throw new \InvalidArgumentException(sprintf('No filesystem is registered for name "%s"', $name));
        }

        return $this->maps[$name];
    }
public function get($name)
    {
        if (!$this->has($name)) {
            throw new \InvalidArgumentException(sprintf('No filesystem is registered for name "%s"', $name));
        }

        return $this->maps[$name];
    }
public function get ( $ name ) { if ( ! $ this -> has ( $ name ) ) { throw new \ InvalidArgumentException ( sprintf ( 'No filesystem is registered for name "%s"' , $ name ) ) ; } return $ this -> maps [ $ name ] ; }
Retrieves a filesystem by its name.

@param string $name name of a filesystem

@return \Gaufrette\Filesystem

@throw \InvalidArgumentException if the filesystem does not exist
Retrieves a filesystem by its name .