public function getCollection($id)
    {
        if (!isset($this->_collections[$id])) {
            throw new \InvalidArgumentException('Collection not attached: ' . $id);
        }
        return $this->_collections;
    }