class ArrayHelperTestObject in Helper 7
Hierarchy
- class \ArrayHelperTestObject
Expanded class hierarchy of ArrayHelperTestObject
File
- tests/
ArrayHelperTest.test, line 195
View source
class ArrayHelperTestObject {
private $data;
public function __construct(array $data = array()) {
$this->data = $data;
}
public function __get($key) {
if (array_key_exists($key, $this->data)) {
return $this->data[$key];
}
}
public function __set($key, $value) {
$this->data[$key] = $value;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ArrayHelperTestObject:: |
private | property | ||
ArrayHelperTestObject:: |
public | function | ||
ArrayHelperTestObject:: |
public | function | ||
ArrayHelperTestObject:: |
public | function |