public static function setOption($key, $val = null) { if (is_array($key)) { EventCache::$config = $key; } else { EventCache::$config[$key] = $val; } $_this = EventCache::getInstance(); return $_this->setOption($key, $val); }