Attachment/AttachmentHandler.php
protected function getStorage($name)
    {
        if (!array_key_exists($name, $this->storages))
        {
            throw new StorageDoesNotExistException('Invalid storage name: '.$name);
        }
        
        return $this->storages[$name];
    }
protected function getStorage($name)
    {
        if (!array_key_exists($name, $this->storages))
        {
            throw new StorageDoesNotExistException('Invalid storage name: '.$name);
        }
        
        return $this->storages[$name];
    }
protected function getStorage ( $ name ) { if ( ! array_key_exists ( $ name , $ this -> storages ) ) { throw new StorageDoesNotExistException ( 'Invalid storage name: ' . $ name ) ; } return $ this -> storages [ $ name ] ; }
Get the storage with the given name

@param string $name

@return Storage
Get the storage with the given name