
extern zend_class_entry *phalcon_html_tagfactory_ce;

ZEPHIR_INIT_CLASS(Phalcon_Html_TagFactory);

PHP_METHOD(Phalcon_Html_TagFactory, __construct);
PHP_METHOD(Phalcon_Html_TagFactory, __call);
PHP_METHOD(Phalcon_Html_TagFactory, has);
PHP_METHOD(Phalcon_Html_TagFactory, newInstance);
PHP_METHOD(Phalcon_Html_TagFactory, set);
PHP_METHOD(Phalcon_Html_TagFactory, getDefaultServices);

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_html_tagfactory___construct, 0, 0, 1)
	ZEND_ARG_OBJ_INFO(0, escaper, Phalcon\\Html\\Escaper\\EscaperInterface, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, services, IS_ARRAY, 0, "[]")
	ZEND_ARG_OBJ_TYPE_MASK(0, response, Phalcon\\Http\\ResponseInterface, MAY_BE_NULL, "null")
	ZEND_ARG_OBJ_TYPE_MASK(0, url, Phalcon\\Mvc\\Url\\UrlInterface, MAY_BE_NULL, "null")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_html_tagfactory___call, 0, 0, 2)
	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
	ZEND_ARG_ARRAY_INFO(0, arguments, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_tagfactory_has, 0, 1, _IS_BOOL, 0)
	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_phalcon_html_tagfactory_newinstance, 0, 1, MAY_BE_OBJECT)
	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_tagfactory_set, 0, 2, IS_VOID, 0)

	ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
	ZEND_ARG_OBJ_INFO(0, definition, Closure, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_tagfactory_getdefaultservices, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()

ZEPHIR_INIT_FUNCS(phalcon_html_tagfactory_method_entry) {
	PHP_ME(Phalcon_Html_TagFactory, __construct, arginfo_phalcon_html_tagfactory___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
	PHP_ME(Phalcon_Html_TagFactory, __call, arginfo_phalcon_html_tagfactory___call, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_TagFactory, has, arginfo_phalcon_html_tagfactory_has, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_TagFactory, newInstance, arginfo_phalcon_html_tagfactory_newinstance, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_TagFactory, set, arginfo_phalcon_html_tagfactory_set, ZEND_ACC_PUBLIC)
	PHP_ME(Phalcon_Html_TagFactory, getDefaultServices, arginfo_phalcon_html_tagfactory_getdefaultservices, ZEND_ACC_PROTECTED)
	PHP_FE_END
};
