throw new InvalidArrayCountException(array($this, "curr", count($curr), 2), self::EXCEPTION_ARRAY_HAS_INVALID_COUNT);
} elseif (!isset($curr['template_class']) || (!isset($curr['app_instance']))) {
// Expected entries missing
throw new InvalidArrayCountException(array($this, "curr", count($curr), 2), self::EXCEPTION_ARRAY_HAS_INVALID_COUNT);
} elseif (!isset($curr['template_class']) || (!isset($curr['app_instance']))) {
// Expected entries missing