public function get($version) { if (!isset($this->versions[$version])) { throw new OutOfBoundsException(sprintf('The version %s of path %s does not exist.', $version, $this->path)); } return $this->versions[$version]; }