URI Template

CloneableInstantiable
Methods
public __construct( $base_uri = '', $params = [], ?Rize\UriTemplate\Parser $parser = NULL)
public expand( $uri, $params = [])
 

Expands URI Template

  • return string
public extract( $template, $uri, $strict = false)
 

Extracts variables from URI

  • return null|array params or null if not match and $strict is true
public getParser()
Properties
protected $base_uri
protected $params
protected $parsed
protected $parser
 
  • var Parser
Methods
protected createNodeParser()
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only