PayPal\Core\PPBaseService::__construct PHP Method

__construct() public method

public __construct ( $serviceName, $serviceBinding, $config = null, $handlers = [] )
    public function __construct($serviceName, $serviceBinding, $config = null, $handlers = array())
    {
        $this->serviceName = $serviceName;
        $this->serviceBinding = $serviceBinding;
        $this->config = $config;
        $this->handlers = $handlers;
    }

Usage Example

 /**
  * @param $config - Dynamic config map. This takes the higher precedence if config file is also present.
  *
  */
 public function __construct($config = null)
 {
     parent::__construct(self::$SERVICE_NAME, 'SOAP', $config);
 }
All Usage Examples Of PayPal\Core\PPBaseService::__construct