Example #1
0
 public function __construct($serviceName, $serviceBinding, $handlers = array(), $config = null)
 {
     $this->serviceName = $serviceName;
     $this->serviceBinding = $serviceBinding;
     $this->handlers = $handlers;
     if ($config == null) {
         $configFile = PPConfigManager::getInstance();
         $this->config = $configFile->getConfigHashmap();
     } else {
         $this->config = PPConfigManager::mergrDefaults($config);
     }
 }