Overview

Namespaces

  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
    • Tests
      • Batch
      • Cache
      • Common
        • Cache
        • Exception
      • Http
        • Curl
        • Exception
        • Message
          • Header
      • Inflection
      • Iterator
      • Log
      • Message
      • Mock
      • Parser
        • Cookie
        • Message
      • Parsers
        • UriTemplate
      • Plugin
        • Async
        • Backoff
        • Cache
        • Cookie
          • CookieJar
        • CurlAuth
        • ErrorResponse
        • History
        • Log
        • Md5
        • Mock
        • Oauth
        • Redirect
      • Service
        • Builder
        • Command
          • LocationVisitor
            • Request
            • Response
        • Description
        • Exception
        • Mock
          • Command
            • Sub
          • Model
        • Resource
      • Stream
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • VivaPayments
      • Message
  • PHP

Classes

  • PeclUriTemplate
  • UriTemplate

Interfaces

  • UriTemplateInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class UriTemplate

Expands URI templates using an array of variables

Guzzle\Parser\UriTemplate\UriTemplate implements Guzzle\Parser\UriTemplate\UriTemplateInterface
Namespace: Guzzle\Parser\UriTemplate
Link: http://tools.ietf.org/html/draft-gregorio-uritemplate-08
Located at src/Guzzle/Parser/UriTemplate/UriTemplate.php
Methods summary
public string
# expand( string $template, array $variables )

Expand the URI template using the supplied variables

Expand the URI template using the supplied variables

Parameters

$template
URI Template to expand
$variables
Variables to use with the expansion

Returns

string
Returns the expanded template

Implementation of

Guzzle\Parser\UriTemplate\UriTemplateInterface::expand()
public
# setRegex( string $regexPattern )

Set the regex patten used to expand URI templates

Set the regex patten used to expand URI templates

Parameters

$regexPattern
Constants summary
string DEFAULT_PATTERN
# '/\{([^\}]+)\}/'
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen