/** * Gets a specific tag * @param string $name The tagname * @return Tag */ public function getTag($name) { $ref = $this->io->readRef('tags/' . $name); $object = $ref->getObject(); return new Tag($name, $object); }
/** * Loads the reference * @param string $path The path to the reference * @return Reference */ public function load($path) { return $this->io->readRef($path); }