JRA, PHP cAPI interface
  • Namespace
  • Class
  • Tree

Namespaces

  • JRA
    • Abstracts
    • Commands
      • Invokers
      • Methods
        • Content
        • Token
        • User
      • Routes
    • ComposerHandler
    • Config
      • Helper
    • Exceptions
    • Facades
    • Factories
    • Interfaces
    • Objects
      • Response
        • Data
    • Responsibilities
      • Handlers
      • Responsible
        • Login
        • Logout

Classes

  • ChainFactory
  • CommandFactory
  • ConfigFactory
  • GuzzleFactory
  • InternalFactory

Class GuzzleFactory

Namespace: JRA\Factories
Located at Factories/GuzzleFactory.php

Methods summary

public
# __construct( JRA\Interfaces\ConfigInterface $pConfig, JRA\Factories\InternalFactory $pFactory )

GuzzleFactory constructor.

GuzzleFactory constructor.

Parameters

$pConfig
The configuration for the current requests.
$pFactory
The factory which is used for internal object creation.
public JRA\ComposerHandler\GuzzleHandler
# getGuzzleHandler( )

Creates the GuzzleHandler if not done before.

Creates the GuzzleHandler if not done before.

Returns

JRA\ComposerHandler\GuzzleHandler
Returns the GuzzleHandler object.
public Guzzle\Http\Client
# getHttpClientObject( array $pConfigurationOptions = array() )

Creates the Client object if not done before.

Creates the Client object if not done before.

Parameters

$pConfigurationOptions
The configuration which is used to create a correct client object.

Returns

Guzzle\Http\Client
Returns the Client object.
public Guzzle\Plugin\Cookie\CookiePlugin
# getCookiePlugin( null $pArrayCookieJar = null )

Creates a CookiePlugin for the guzzle if not done before.

Creates a CookiePlugin for the guzzle if not done before.

Parameters

$pArrayCookieJar
The cookies which should be set.

Returns

Guzzle\Plugin\Cookie\CookiePlugin
Returns the CookiePlugin object.
JRA, PHP cAPI interface API documentation generated by ApiGen