芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/vendor/google/gax/src/PathTemplate.php
resourceTemplate = new AbsoluteResourceTemplate($path); } else { $this->resourceTemplate = new RelativeResourceTemplate($path); } } /** * @return string A string representation of the path template */ public function __toString() { return $this->resourceTemplate->__toString(); } /** * Renders a path template using the provided bindings. * * @param array $bindings An array matching var names to binding strings. * @throws ValidationException if a key isn't provided or if a sub-template * can't be parsed. * @return string A rendered representation of this path template. */ public function render(array $bindings) { return $this->resourceTemplate->render($bindings); } /** * Check if $path matches a resource string. * * @param string $path A resource string. * @return bool */ public function matches(string $path) { return $this->resourceTemplate->matches($path); } /** * Matches a fully qualified path template string. * * @param string $path A fully qualified path template string. * @throws ValidationException if path can't be matched to the template. * @return array Array matching var names to binding values. */ public function match(string $path) { return $this->resourceTemplate->match($path); } }