/** * {@inherit} * * {@inherit} */ public function __construct(array $params = []) { if (!is_file(self::SCRIPT_NAME)) { throw new CallbackException("The handler script \"scriptProxy.php\" does not exist in the folder \"script\""); } if (!isset($params['rpc_callback'])) { throw new CallbackException("The necessary parameter \"rpc_callback\" is expected"); } parent::__construct(array_merge(['script_name' => self::SCRIPT_NAME], $params)); $this->callbackOptions = $params; }
public function __construct($p_oRequest) { parent::__construct($p_oRequest); }
public function __construct($argc, array $argv) { $this->_script_name = array_shift($argv); parent::__construct($argc, $argv); }