/** * @param string $name the compound name of the ref entry, e.g. "pq/Connection/exec" * @param \mdref\Repo $repo the containing repository */ public function __construct($name, Repo $repo) { $this->repo = $repo; $this->name = $name; $this->list = explode("/", $name); $this->path = $repo->hasEntry($name); }