51Degrees Pipeline PHP  4.1

51Degrees Pipeline for PHP

fiftyone\pipeline\core\AspectPropertyValue Class Reference

Detailed Description

An AspectPropertyValue is a wrapper for a value It lets you check this wrapper has a value inside it If not value is set, a specific no value message is returned.

Public Member Functions

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

Constructor & Destructor Documentation

◆ __construct()

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

Constructor for AspectPropertyValue.

Parameters
string - if there is no value, the reason for there not being one
mixed - the value

Member Function Documentation

◆ __get()

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

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

Parameters
string - key
Returns
mixed value