/** * Constructor. * * @param string $rawResponse The raw response from the gateway * @return mixed boolean true on success, PEAR_Error on failure */ function __construct($rawResponse, Payment_Process2_Common $request) { $this->_validateResponse($rawResponse); parent::__construct($rawResponse, $request); $res = $this->parse(); /** @todo This is Wrong WRONG WRONGGGG! Constructors do no work! */ }