Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • 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
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • PeclUriTemplate
  • UriTemplate

Interfaces

  • UriTemplateInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

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 Guzzle/Parser/UriTemplate/PeclUriTemplate.php
Methods summary
public
# __construct( )

Validates that the uri_template extension is installed

Validates that the uri_template extension is installed

CodeCoverageIgnore

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
string
$template URI Template to expand
$variables
array
$variables Variables to use with the expansion

Returns

string
Returns the expanded template

Implementation of

Guzzle\Parser\UriTemplate\UriTemplateInterface::expand()
php-coveralls API documentation generated by ApiGen 2.8.0