1 2 #ifdef HAVE_CONFIG_H 3 #include "../../ext_config.h" 4 #endif 5 6 #include <php.h> 7 #include "../../php_ext.h" 8 #include "../../ext.h" 9 10 #include <Zend/zend_exceptions.h> 11 12 #include "kernel/main.h" 13 14 15 /** 16 * Phalcon\Annotations\Reader 17 * 18 * Parses docblocks returning an array with the found annotations 19 */ ZEPHIR_INIT_CLASS(Phalcon_Annotations_ReaderInterface)20ZEPHIR_INIT_CLASS(Phalcon_Annotations_ReaderInterface) { 21 22 ZEPHIR_REGISTER_INTERFACE(Phalcon\\Annotations, ReaderInterface, phalcon, annotations_readerinterface, phalcon_annotations_readerinterface_method_entry); 23 24 return SUCCESS; 25 26 } 27 28 /** 29 * Reads annotations from the class dockblocks, its methods and/or properties 30 */ 31 ZEPHIR_DOC_METHOD(Phalcon_Annotations_ReaderInterface, parse); 32 33 /** 34 * Parses a raw doc block returning the annotations found 35 */ 36 ZEPHIR_DOC_METHOD(Phalcon_Annotations_ReaderInterface, parseDocBlock); 37 38