51Degrees Pipeline for PHP

fiftyone\pipeline\core\AspectPropertyValue Class Reference

Public Member Functions

 __construct (?string $noValueMessage=null, $value='noValue')
 Constructor for AspectPropertyValue.
 __get (string $key)
 Magic getter to access the value or throw an error with the no value message.
 __set (string $key, $value)

Data Fields

string $noValueMessage = null
bool $hasValue = false

Constructor & Destructor Documentation

◆ __construct()

fiftyone\pipeline\core\AspectPropertyValue::__construct ( ?string $noValueMessage = null,
$value = 'noValue' )

Constructor for AspectPropertyValue.

Parameters
null | string$noValueMessageReason why the value is missing
mixed$value

Member Function Documentation

◆ __get()

fiftyone\pipeline\core\AspectPropertyValue::__get ( string $key)

Magic getter to access the value or throw an error with the no value message.

Returns
mixed
Exceptions

Exception

◆ __set()

fiftyone\pipeline\core\AspectPropertyValue::__set ( string $key,
$value )
Parameters
mixed$value
Returns
void