Documentation

內容目录

上一个主题

< Class Phalcon\Acl\Role

下一个主题

Class Phalcon\Annotations\Adapter\Apc >

本页

Abstract class Phalcon\Annotations\Adapter

This is the base class for Phalcon\Annotations adapters

Methods

public setReader (unknown $reader)

Sets the annotations parser

public Phalcon\Annotations\ReaderInterface getReader ()

Returns the annotation reader

public Phalcon\Annotations\Reflection get (unknown $className)

Parses or retrieves all the annotations found in a class

public array getMethods (unknown $className)

Returns the annotations found in all the class’ methods

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

Returns the annotations found in a specific method

public array getProperties (unknown $className)

Returns the annotations found in all the class’ methods

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

Returns the annotations found in a specific property

Follow along: