
extern zend_class_entry *phalcon_queue_adapterfactory_ce;

ZEPHIR_INIT_CLASS(Phalcon_Queue_AdapterFactory);

PHP_METHOD(Phalcon_Queue_AdapterFactory, __construct);
PHP_METHOD(Phalcon_Queue_AdapterFactory, newInstance);
PHP_METHOD(Phalcon_Queue_AdapterFactory, getExceptionClass);
PHP_METHOD(Phalcon_Queue_AdapterFactory, getServices);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_queue_adapterfactory___construct, 0, 0, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, services, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_phalcon_queue_adapterfactory_newinstance, 0, 1, Phalcon\\Contracts\\Queue\\ConnectionFactory, 0)
	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_queue_adapterfactory_getexceptionclass, 0, 0, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_queue_adapterfactory_getservices, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()

ZEPHIR_INIT_FUNCS(phalcon_queue_adapterfactory_method_entry) {
	PHP_ME(Phalcon_Queue_AdapterFactory, __construct, arginfo_phalcon_queue_adapterfactory___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
	PHP_ME(Phalcon_Queue_AdapterFactory, newInstance, arginfo_phalcon_queue_adapterfactory_newinstance, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Queue_AdapterFactory, getExceptionClass, arginfo_phalcon_queue_adapterfactory_getexceptionclass, ZEND_ACC_PROTECTED)
	PHP_ME(Phalcon_Queue_AdapterFactory, getServices, arginfo_phalcon_queue_adapterfactory_getservices, ZEND_ACC_PROTECTED)
	PHP_FE_END
};
