xxxxxxxxxx
namespace WsdlToPhp\PackageBase;
abstract class AbstractStructEnumBase implements StructEnumInterface
{
/**
* Return true if value is allowed
* @uses self::getValidValues()
* @param mixed $value value
* @return bool true|false
*/
public static function valueIsValid($value)
{
return ($value === null) || in_array($value, static::getValidValues(), true);
}
/**
* Default string representation of current object. Don't want to expose any sensible data
* @return string
*/
public function __toString()
{
return get_called_class();
}
}
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