public function getInfo($version = 'latest')
    {
        $version = $this->resolveVersion($version);

        if (!isset($this->versions[$version])) {
            throw new \Exception("No information for version $version.");
        }

        return $this->versions[$version];
    }