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

  • Inflector
  • MemoizingInflector
  • PreComputedInflector

Interfaces

  • InflectorInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class Inflector

Default inflection implementation

Guzzle\Inflection\Inflector implements Guzzle\Inflection\InflectorInterface
Namespace: Guzzle\Inflection
Located at src/Guzzle/Inflection/Inflector.php
Methods summary
public static Guzzle\Inflection\MemoizingInflector
# getDefault( )

Get the default inflector object that has support for caching

Get the default inflector object that has support for caching

Returns

Guzzle\Inflection\MemoizingInflector
public string
# snake( string $word )

Converts strings from camel case to snake case (e.g. CamelCase camel_case).

Converts strings from camel case to snake case (e.g. CamelCase camel_case).

Parameters

$word
Word to convert to snake case

Returns

string

Implementation of

Guzzle\Inflection\InflectorInterface::snake()
public string
# camel( string $word )

Converts strings from snake_case to upper CamelCase

Converts strings from snake_case to upper CamelCase

Parameters

$word
Value to convert into upper CamelCase

Returns

string

Implementation of

Guzzle\Inflection\InflectorInterface::camel()
Properties summary
protected static Guzzle\Inflection\InflectorInterface $default
#
Omnipay Viva Payments Gateway Module API Documentation API documentation generated by ApiGen