You are here

public function ArrayHelperTestObject::__get in Helper 7

File

tests/ArrayHelperTest.test, line 202

Class

ArrayHelperTestObject

Code

public function __get($key) {
  if (array_key_exists($key, $this->data)) {
    return $this->data[$key];
  }
}