/** * @param string $missingParameter */ public function __construct($missingParameter) { parent::__construct(sprintf('Payplug account parameter "%s" is needed but not set.', $missingParameter)); }
/** * {@inheritdoc} It also appends the HTTP response to the returned string. */ public function __toString() { return parent::__toString() . "; HTTP Response: {$this->_httpResponse}"; }