
extern zend_class_entry *phalcon_support_helper_arr_chunk_ce;

ZEPHIR_INIT_CLASS(Phalcon_Support_Helper_Arr_Chunk);

PHP_METHOD(Phalcon_Support_Helper_Arr_Chunk, __invoke);

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_support_helper_arr_chunk___invoke, 0, 2, IS_ARRAY, 0)
	ZEND_ARG_ARRAY_INFO(0, collection, 0)
	ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, preserveKeys, _IS_BOOL, 0, "false")
ZEND_END_ARG_INFO()

ZEPHIR_INIT_FUNCS(phalcon_support_helper_arr_chunk_method_entry) {
	PHP_ME(Phalcon_Support_Helper_Arr_Chunk, __invoke, arginfo_phalcon_support_helper_arr_chunk___invoke, ZEND_ACC_PUBLIC)
	PHP_FE_END
};
