public function convert($expr)
	{
		$match = $this->getMatch($expr);
		if (!isset($match))
		{
			throw new RuntimeException("Cannot convert '" . $expr . "'");
		}

		list($name, $args) = $match;

		return call_user_func_array($this->callbacks[$name], $args);
	}
public function convert($expr)
	{
		$match = $this->getMatch($expr);
		if (!isset($match))
		{
			throw new RuntimeException("Cannot convert '" . $expr . "'");
		}

		list($name, $args) = $match;

		return call_user_func_array($this->callbacks[$name], $args);
	}
public function convert ( $ expr ) { $ match = $ this -> getMatch ( $ expr ) ; if ( ! isset ( $ match ) ) { throw new RuntimeException ( "Cannot convert '" . $ expr . "'" ) ; } list ( $ name , $ args ) = $ match ; return call_user_func_array ( $ this -> callbacks [ $ name ] , $ args ) ; }
Convert given XPath expression to PHP

@param  string $expr
@return string
Convert given XPath expression to PHP