
extern zend_class_entry *phalcon_annotations_adapter_apcu_ce;

ZEPHIR_INIT_CLASS(Phalcon_Annotations_Adapter_Apcu);

PHP_METHOD(Phalcon_Annotations_Adapter_Apcu, __construct);
PHP_METHOD(Phalcon_Annotations_Adapter_Apcu, read);
PHP_METHOD(Phalcon_Annotations_Adapter_Apcu, write);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_annotations_adapter_apcu___construct, 0, 0, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_phalcon_annotations_adapter_apcu_read, 0, 1, Phalcon\\Annotations\\Reflection, MAY_BE_BOOL)
	ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_annotations_adapter_apcu_write, 0, 2, _IS_BOOL, 0)
	ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
	ZEND_ARG_OBJ_INFO(0, data, Phalcon\\Annotations\\Reflection, 0)
ZEND_END_ARG_INFO()

ZEPHIR_INIT_FUNCS(phalcon_annotations_adapter_apcu_method_entry) {
	PHP_ME(Phalcon_Annotations_Adapter_Apcu, __construct, arginfo_phalcon_annotations_adapter_apcu___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
	PHP_ME(Phalcon_Annotations_Adapter_Apcu, read, arginfo_phalcon_annotations_adapter_apcu_read, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Annotations_Adapter_Apcu, write, arginfo_phalcon_annotations_adapter_apcu_write, ZEND_ACC_PUBLIC)
	PHP_FE_END
};
