xxxxxxxxxx
namespace Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for SchemaValidationException Structs
* Meta information extracted from the WSDL
* - type: tns:SchemaValidationException
* @subpackage Structs
*/
class SchemaValidationException extends AbstractStructBase
{
/**
* The message
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $message;
/**
* Constructor method for SchemaValidationException
* @uses SchemaValidationException::setMessage()
* @param string $message
*/
public function __construct($message = null)
{
$this
->setMessage($message);
}
/**
* Get message value
* @return string|null
*/
public function getMessage()
{
return $this->message;
}
/**
* Set message value
* @param string $message
* @return \Structs\SchemaValidationException
*/
public function setMessage($message = null)
{
// validation for constraint: string
if (!is_null($message) && !is_string($message)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($message, true), gettype($message)), __LINE__);
}
$this->message = $message;
return $this;
}
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO