Documentation

Table Of Contents

Previous topic

< Class Phalcon\Annotations\Adapter\Files

Next topic

Class Phalcon\Annotations\Adapter\Xcache >

This Page

Class Phalcon\Annotations\Adapter\Memory

extends abstract class Phalcon\Annotations\Adapter

implements Phalcon\Annotations\AdapterInterface

  • Phalcon\Annotations\Adapter\Memory * * Stores the parsed annotations in memory. This adapter is the suitable development/testing

Methods

public Phalcon\Annotations\Reflection read (unknown $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 Phalcon\Annotations\ReaderInterface getReader () inherited from Phalcon\Annotations\Adapter

Returns the annotation reader

public Phalcon\Annotations\Reflection get (unknown $className) inherited from Phalcon\Annotations\Adapter

Parses or retrieves all the annotations found in a class

public array getMethods (unknown $className) inherited from Phalcon\Annotations\Adapter

Returns the annotations found in all the class’ methods

public Phalcon\Annotations\Collection getMethod (unknown $className, unknown $methodName) inherited from Phalcon\Annotations\Adapter

Returns the annotations found in a specific method

public array getProperties (unknown $className) inherited from Phalcon\Annotations\Adapter

Returns the annotations found in all the class’ methods

public Phalcon\Annotations\Collection getProperty (unknown $className, unknown $propertyName) inherited from Phalcon\Annotations\Adapter

Returns the annotations found in a specific property

Follow along: