public function getConfiguration($connectionName = 'default')
    {
        if (!$this->configurations->containsKey($connectionName)) {
            throw new \InvalidArgumentException(sprintf('Any registered configuration under given key.'));
        }

        return $this->configurations->get($connectionName);
    }