Overview
  • Namespace
  • Class

Namespaces

  • PayPal
    • Api
    • Auth
    • Cache
    • Common
    • Converter
    • Core
    • Exception
    • Handler
    • Log
    • Rest
    • Security
    • Transport
    • Validation

Classes

  • PayPalConfigManager
  • PayPalConstants
  • PayPalCredentialManager
  • PayPalHttpConfig
  • PayPalHttpConnection
  • PayPalLoggingManager

Class PayPalConfigManager

Class PayPalConfigManager

PayPalConfigManager loads the SDK configuration file and hands out appropriate config params to other classes

Namespace: PayPal\Core
Package: PayPal\Core
Located at PayPal/Core/PayPalConfigManager.php

Methods summary

public static
# getInstance( )

Returns the singleton object

Returns the singleton object

Returns


$this
public
# addConfigFromIni( string $fileName )

Add Configuration from configuration.ini files

Add Configuration from configuration.ini files

Parameters

$fileName

Returns


$this
public
# addConfigs( array $configs = array() )

If a configuration exists in both arrays, then the element from the first array will be used and the matching key's element from the second array will be ignored.

If a configuration exists in both arrays, then the element from the first array will be used and the matching key's element from the second array will be ignored.

Parameters

$configs

Returns


$this
public array
# get( string $searchKey )

Simple getter for configuration params If an exact match for key is not found, does a "contains" search on the key

Simple getter for configuration params If an exact match for key is not found, does a "contains" search on the key

Parameters

$searchKey

Returns

array
public array|string
# getIniPrefix( string|null $userId = null )

Utility method for handling account configuration return config key corresponding to the API userId passed in

Utility method for handling account configuration return config key corresponding to the API userId passed in

If $userId is null, returns config keys corresponding to all configured accounts

Parameters

$userId

Returns

array|string
public
# getConfigHashmap( )

returns the config file hashmap

returns the config file hashmap

public
# __clone( )

Disabling __clone call

Disabling __clone call

API documentation generated by ApiGen