Copied!

URI Template

Cloneable Instantiable
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 ()
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration