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 PeclUriTemplate

Expands URI templates using the uri_template pecl extension (pecl install uri_template-beta)

Guzzle\Parser\UriTemplate\PeclUriTemplate implements Guzzle\Parser\UriTemplate\UriTemplateInterface
Namespace: Guzzle\Parser\UriTemplate
Link: http://pecl.php.net/package/uri_template
Link: https://github.com/ioseb/uri-template
Located at src/Guzzle/Parser/UriTemplate/PeclUriTemplate.php
Methods summary
public
# __construct( )
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()
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen