CustomVariableDictionary: implement isset
This commit is contained in:
parent
f8ed937ffa
commit
31b716a7db
|
@ -93,6 +93,11 @@ class CustomVariableDictionary extends CustomVariable implements Countable
|
|||
return $this->value[$key];
|
||||
}
|
||||
|
||||
public function __isset($key)
|
||||
{
|
||||
return array_key_exists($key, $this->value);
|
||||
}
|
||||
|
||||
public function getInternalValue($key)
|
||||
{
|
||||
return $this->value[$key];
|
||||
|
|
Loading…
Reference in New Issue