Public Member Functions | |
getInbox () | |
setInbox (string $value) | |
![]() | |
__construct ($stream=null, $validate_stream_on_construct=true, $validate_properties=true, $validators=null, $validation_context=null) | |
setType ($types) | |
![]() | |
getValidateProperties () | |
getValidateStreamOnConstruct () | |
getValidators () | |
getDoc () | |
getId () | |
setId ($value) | |
getType () | |
getProperty ($prop_name) | |
setProperty ($prop_name, $value) | |
validate () | |
validateProperty ($prop_name, $value, $force_validate=false, $raise_error=true) | |
toJSONLD () | |
Public Attributes | |
const | DEFAULT_TYPE = ActivityStreamsTypes::SERVICE |
![]() | |
const | DEFAULT_TYPE = null |
const | ALLOWED_TYPES = [] |
Additional Inherited Members | |
![]() | |
_registerPropertyValidationError (ValidationError $ve, $prop_name, $value) | |
required (ValidationError $ve, $prop_name, $value) | |
requiredAndValidate (ValidationError $ve, $prop_name, $value) | |
optionalAndValidate (ValidationError $ve, $prop_name, $value) | |
![]() | |
static | deepCopy ($array) |
![]() | |
$validateStreamOnConstruct | |
$validateProperties | |
$validators | |
$validationContext | |
$stream | |
Default class to represent a service in the COAR Notify pattern.
Services are used to represent origin
and target
properties in the notification patterns
Specific patterns may need to extend this class to provide their specific behaviours and validation