ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# Class **Phalcon\Annotations\Adapter\Memory**[](# "永久链接至标题") *extends* abstract class [*Phalcon\Annotations\Adapter*](#) *implements*[*Phalcon\Annotations\AdapterInterface*](#) Stores the parsed annotations in memory. This adapter is the suitable development/testing ### Methods[](# "永久链接至标题") public [*Phalcon\Annotations\Reflection*](#)**read** (*string* $key) Reads parsed annotations from memory public **write** (*unknown* $key, *unknown* $data) Writes parsed annotations to memory public **setReader** (*unknown* $reader) inherited from Phalcon\Annotations\Adapter Sets the annotations parser public **getReader** () inherited from Phalcon\Annotations\Adapter Returns the annotation reader public **get** (*string|object* $className) inherited from Phalcon\Annotations\Adapter Parses or retrieves all the annotations found in a class public **getMethods** (*unknown* $className) inherited from Phalcon\Annotations\Adapter Returns the annotations found in all the class' methods public **getMethod** (*unknown* $className, *unknown* $methodName) inherited from Phalcon\Annotations\Adapter Returns the annotations found in a specific method public **getProperties** (*unknown* $className) inherited from Phalcon\Annotations\Adapter Returns the annotations found in all the class' methods public **getProperty** (*unknown* $className, *unknown* $propertyName) inherited from Phalcon\Annotations\Adapter Returns the annotations found in a specific property | - [索引](# "总目录") - [下一页](# "Class Phalcon\Annotations\Adapter\Xcache") | - [上一页](# "Class Phalcon\Annotations\Adapter\Files") | - [API Indice](#) »