Documentation

內容目录

上一个主题

< Class Phalcon\Acl\Role

下一个主题

Class Phalcon\Annotations\Adapter\Apc >

本页

Abstract class Phalcon\Annotations\Adapter

Source on GitHub

This is the base class for Phalcon\Annotations adapters

Methods

public setReader (Phalcon\Annotations\ReaderInterface $reader)

Sets the annotations parser

public getReader ()

Returns the annotation reader

public get (string|object $className)

Parses or retrieves all the annotations found in a class

public getMethods (unknown $className)

Returns the annotations found in all the class’ methods

public getMethod (unknown $className, unknown $methodName)

Returns the annotations found in a specific method

public getProperties (unknown $className)

Returns the annotations found in all the class’ methods

public getProperty (unknown $className, unknown $propertyName)

Returns the annotations found in a specific property

Follow along: