ObjectProperty
in package
Helper for manipulating by an object property.
Tags
Table of Contents
Properties
- $initValue : mixed
- $owner : mixed
- $property : ReflectionProperty|string
Methods
- __construct() : mixed
- ObjectProperty constructor.
- getName() : string
- getValue() : mixed
- restoreValue() : mixed
- Restores initial value
- setValue() : mixed
Properties
$initValue
private
mixed
$initValue
$owner
private
mixed
$owner
$property
private
ReflectionProperty|string
$property
Methods
__construct()
ObjectProperty constructor.
public
__construct(mixed $owner, mixed $property[, mixed $value = null ]) : mixed
Parameters
- $owner : mixed
- $property : mixed
- $value : mixed = null
getName()
public
getName() : string
Return values
stringgetValue()
public
getValue() : mixed
restoreValue()
Restores initial value
public
restoreValue() : mixed
setValue()
public
setValue(mixed $value) : mixed
Parameters
- $value : mixed