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

  • UrlParser

Interfaces

  • UrlParserInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class UrlParser

Parses URLs into parts using PHP's built-in parse_url() function

Guzzle\Parser\Url\UrlParser implements Guzzle\Parser\Url\UrlParserInterface
Namespace: Guzzle\Parser\Url
Deprecated: Just use parse_url. UTF-8 characters should be percent encoded anyways.
Codecoverageignore
Located at src/Guzzle/Parser/Url/UrlParser.php
Methods summary
public
# setUtf8Support( boolean $utf8 )

Set whether or not to attempt to handle UTF-8 strings (still WIP)

Set whether or not to attempt to handle UTF-8 strings (still WIP)

Parameters

$utf8
Set to TRUE to handle UTF string
public array
# parseUrl( string $url )

Parse a URL using special handling for a subset of UTF-8 characters in the query string if needed.

Parse a URL using special handling for a subset of UTF-8 characters in the query string if needed.

Parameters

$url
URL to parse

Returns

array

Returns an array identical to what is returned from parse_url(). When an array key is missing from this array, you must fill it in with NULL to avoid warnings in calling code.

Implementation of

Guzzle\Parser\Url\UrlParserInterface::parseUrl()
Properties summary
protected boolean $utf8

Whether or not to work with UTF-8 strings

Whether or not to work with UTF-8 strings

# false
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen