Copied!

Description

Cloneable Instantiable
Methods
public __construct ( $token , Rize\UriTemplate\Operator\Abstraction $operator , ? array $variables = NULL , $forwardLookupSeparator = NULL )
public expand ( Rize\UriTemplate\Parser $parser , array $params = [ ] )
 
  • return null | string
public getForwardLookupSeparator ()
 
  • return string
public getOperator ()
 
  • return Operator\Abstraction
public Rize\UriTemplate\Node\Abstraction :: getToken ()
 
  • return string
public getVariables ()
 
  • return array
public match ( Rize\UriTemplate\Parser $parser , $uri , $params = [ ] , $strict = false )
 

Matches given URI against current node

  • return null | array `uri and params` or `null` if not match and $strict is true
public setForwardLookupSeparator ( $forwardLookupSeparator )
 
Methods
protected sortVariables ( array $vars )
 

Sort variables before extracting data from uri.

We have to sort vars by non-explode to explode.

  • return array
Properties
private $forwardLookupSeparator
 

Whether to do a forward lookup for a given separator

  • var string
private $operator
 
  • var Operator\Abstraction
private $variables
 
  • var array
© 2020 Bruce Wells
Search Namespaces \ Classes
Configuration Numbers (0-9.) only