CustomVariableDictionary: implement isset

This commit is contained in:
Thomas Gelf 2016-09-08 13:18:55 +00:00
parent f8ed937ffa
commit 31b716a7db
1 changed files with 5 additions and 0 deletions

View File

@ -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];