
extern zend_class_entry *phalcon_support_collection_ce;

ZEPHIR_INIT_CLASS(Phalcon_Support_Collection);

PHP_METHOD(Phalcon_Support_Collection, __construct);
PHP_METHOD(Phalcon_Support_Collection, __get);
PHP_METHOD(Phalcon_Support_Collection, __isset);
PHP_METHOD(Phalcon_Support_Collection, __serialize);
PHP_METHOD(Phalcon_Support_Collection, __set);
PHP_METHOD(Phalcon_Support_Collection, __unserialize);
PHP_METHOD(Phalcon_Support_Collection, __unset);
PHP_METHOD(Phalcon_Support_Collection, clear);
PHP_METHOD(Phalcon_Support_Collection, column);
PHP_METHOD(Phalcon_Support_Collection, count);
PHP_METHOD(Phalcon_Support_Collection, each);
PHP_METHOD(Phalcon_Support_Collection, filter);
PHP_METHOD(Phalcon_Support_Collection, first);
PHP_METHOD(Phalcon_Support_Collection, get);
PHP_METHOD(Phalcon_Support_Collection, getIterator);
PHP_METHOD(Phalcon_Support_Collection, getKeys);
PHP_METHOD(Phalcon_Support_Collection, getType);
PHP_METHOD(Phalcon_Support_Collection, getValues);
PHP_METHOD(Phalcon_Support_Collection, has);
PHP_METHOD(Phalcon_Support_Collection, init);
PHP_METHOD(Phalcon_Support_Collection, isEmpty);
PHP_METHOD(Phalcon_Support_Collection, jsonSerialize);
PHP_METHOD(Phalcon_Support_Collection, keys);
PHP_METHOD(Phalcon_Support_Collection, last);
PHP_METHOD(Phalcon_Support_Collection, map);
PHP_METHOD(Phalcon_Support_Collection, offsetExists);
PHP_METHOD(Phalcon_Support_Collection, offsetGet);
PHP_METHOD(Phalcon_Support_Collection, offsetSet);
PHP_METHOD(Phalcon_Support_Collection, offsetUnset);
PHP_METHOD(Phalcon_Support_Collection, reduce);
PHP_METHOD(Phalcon_Support_Collection, remove);
PHP_METHOD(Phalcon_Support_Collection, replace);
PHP_METHOD(Phalcon_Support_Collection, serialize);
PHP_METHOD(Phalcon_Support_Collection, set);
PHP_METHOD(Phalcon_Support_Collection, sort);
PHP_METHOD(Phalcon_Support_Collection, toArray);
PHP_METHOD(Phalcon_Support_Collection, toJson);
PHP_METHOD(Phalcon_Support_Collection, unserialize);
PHP_METHOD(Phalcon_Support_Collection, values);
PHP_METHOD(Phalcon_Support_Collection, where);
PHP_METHOD(Phalcon_Support_Collection, cloneEmpty);
PHP_METHOD(Phalcon_Support_Collection, extractValue);
PHP_METHOD(Phalcon_Support_Collection, processKey);
PHP_METHOD(Phalcon_Support_Collection, setData);
PHP_METHOD(Phalcon_Support_Collection, validateType);
PHP_METHOD(Phalcon_Support_Collection, checkSerializable);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_support_collection___construct, 0, 0, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_ARRAY, 0, "[]")
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, insensitive, _IS_BOOL, 0, "true")
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, strictNull, _IS_BOOL, 0, "false")
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, type, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection___get, 0, 1, IS_MIXED, 0)
	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection___isset, 0, 1, _IS_BOOL, 0)
	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection___serialize, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection___set, 0, 2, IS_VOID, 0)

	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
	ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection___unserialize, 0, 1, IS_VOID, 0)

	ZEND_ARG_ARRAY_INFO(0, data, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection___unset, 0, 1, IS_VOID, 0)

	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_clear, 0, 0, IS_VOID, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_column, 0, 1, IS_ARRAY, 0)
	ZEND_ARG_TYPE_INFO(0, propertyOrMethod, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_count, 0, 0, IS_LONG, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_support_collection_each, 0, 1, MAY_BE_STATIC)
	ZEND_ARG_INFO(0, callback)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_support_collection_filter, 0, 1, MAY_BE_STATIC)
	ZEND_ARG_INFO(0, callback)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_first, 0, 0, IS_MIXED, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_get, 0, 1, IS_MIXED, 0)
	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
	ZEND_ARG_INFO(0, defaultValue)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, cast, IS_STRING, 1, "null")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_phalcon_support_collection_getiterator, 0, 0, Traversable, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_getkeys, 0, 0, IS_ARRAY, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, insensitive, _IS_BOOL, 0, "true")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_gettype, 0, 0, IS_STRING, 1)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_getvalues, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_has, 0, 1, _IS_BOOL, 0)
	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_init, 0, 0, IS_VOID, 0)

ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_isempty, 0, 0, _IS_BOOL, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_jsonserialize, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_keys, 0, 0, IS_ARRAY, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, insensitive, _IS_BOOL, 0, "true")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_last, 0, 0, IS_MIXED, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_support_collection_map, 0, 1, MAY_BE_STATIC)
	ZEND_ARG_INFO(0, callback)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_offsetexists, 0, 1, _IS_BOOL, 0)
	ZEND_ARG_INFO(0, element)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_offsetget, 0, 1, IS_MIXED, 0)
	ZEND_ARG_INFO(0, element)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_offsetset, 0, 2, IS_VOID, 0)

	ZEND_ARG_INFO(0, element)
	ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_offsetunset, 0, 1, IS_VOID, 0)

	ZEND_ARG_INFO(0, element)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_reduce, 0, 1, IS_MIXED, 0)
	ZEND_ARG_INFO(0, callback)
	ZEND_ARG_INFO(0, initial)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_remove, 0, 1, IS_VOID, 0)

	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_replace, 0, 1, IS_VOID, 0)

	ZEND_ARG_ARRAY_INFO(0, data, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_serialize, 0, 0, IS_STRING, 1)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_set, 0, 2, IS_VOID, 0)

	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
	ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_support_collection_sort, 0, 0, MAY_BE_STATIC)
	ZEND_ARG_INFO(0, callback)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, order, IS_LONG, 0, "4")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_toarray, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_tojson, 0, 0, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_LONG, 0, "4194383")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_unserialize, 0, 1, IS_VOID, 0)

	ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_values, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_support_collection_where, 0, 2, MAY_BE_STATIC)
	ZEND_ARG_TYPE_INFO(0, propertyOrMethod, IS_STRING, 0)
	ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_support_collection_cloneempty, 0, 0, MAY_BE_STATIC)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, data, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_extractvalue, 0, 2, IS_MIXED, 0)
	ZEND_ARG_INFO(0, item)
	ZEND_ARG_TYPE_INFO(0, propertyOrMethod, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_processkey, 0, 1, IS_STRING, 0)
	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_setdata, 0, 2, IS_VOID, 0)

	ZEND_ARG_TYPE_INFO(0, element, IS_STRING, 0)
	ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_validatetype, 0, 1, IS_VOID, 0)

	ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_collection_checkserializable, 0, 1, IS_MIXED, 0)
	ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()

ZEPHIR_INIT_FUNCS(phalcon_support_collection_method_entry) {
	PHP_ME(Phalcon_Support_Collection, __construct, arginfo_phalcon_support_collection___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
	PHP_ME(Phalcon_Support_Collection, __get, arginfo_phalcon_support_collection___get, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, __isset, arginfo_phalcon_support_collection___isset, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, __serialize, arginfo_phalcon_support_collection___serialize, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, __set, arginfo_phalcon_support_collection___set, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, __unserialize, arginfo_phalcon_support_collection___unserialize, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, __unset, arginfo_phalcon_support_collection___unset, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, clear, arginfo_phalcon_support_collection_clear, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, column, arginfo_phalcon_support_collection_column, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, count, arginfo_phalcon_support_collection_count, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, each, arginfo_phalcon_support_collection_each, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, filter, arginfo_phalcon_support_collection_filter, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, first, arginfo_phalcon_support_collection_first, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, get, arginfo_phalcon_support_collection_get, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, getIterator, arginfo_phalcon_support_collection_getiterator, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, getKeys, arginfo_phalcon_support_collection_getkeys, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, getType, arginfo_phalcon_support_collection_gettype, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, getValues, arginfo_phalcon_support_collection_getvalues, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, has, arginfo_phalcon_support_collection_has, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, init, arginfo_phalcon_support_collection_init, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, isEmpty, arginfo_phalcon_support_collection_isempty, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, jsonSerialize, arginfo_phalcon_support_collection_jsonserialize, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, keys, arginfo_phalcon_support_collection_keys, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, last, arginfo_phalcon_support_collection_last, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, map, arginfo_phalcon_support_collection_map, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, offsetExists, arginfo_phalcon_support_collection_offsetexists, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, offsetGet, arginfo_phalcon_support_collection_offsetget, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, offsetSet, arginfo_phalcon_support_collection_offsetset, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, offsetUnset, arginfo_phalcon_support_collection_offsetunset, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, reduce, arginfo_phalcon_support_collection_reduce, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, remove, arginfo_phalcon_support_collection_remove, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, replace, arginfo_phalcon_support_collection_replace, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, serialize, arginfo_phalcon_support_collection_serialize, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, set, arginfo_phalcon_support_collection_set, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, sort, arginfo_phalcon_support_collection_sort, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, toArray, arginfo_phalcon_support_collection_toarray, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, toJson, arginfo_phalcon_support_collection_tojson, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, unserialize, arginfo_phalcon_support_collection_unserialize, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, values, arginfo_phalcon_support_collection_values, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, where, arginfo_phalcon_support_collection_where, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Support_Collection, cloneEmpty, arginfo_phalcon_support_collection_cloneempty, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Support_Collection, extractValue, arginfo_phalcon_support_collection_extractvalue, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Support_Collection, processKey, arginfo_phalcon_support_collection_processkey, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Support_Collection, setData, arginfo_phalcon_support_collection_setdata, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Support_Collection, validateType, arginfo_phalcon_support_collection_validatetype, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Support_Collection, checkSerializable, arginfo_phalcon_support_collection_checkserializable, ZEND_ACC_PRIVATE)
	PHP_FE_END
};
