/** * @param string $url * @return array Tuple of file and version * @throws RuntimeException */ public function reverseUrl($url) { if (!$this->linker instanceof ReversibleLinker) { throw new RuntimeException("Reversible linker is needed to reverse an url"); } return $this->linker->reverseLink($url); }