abstract class AnnotationBase implements AnnotationInterface (View source)

Provides a base class for classed annotations.

Properties

string $id

The annotated class ID.

protected string $class

The class used for this annotated class.

protected string $provider

The provider of the annotated class.

Methods

string
getProvider()

Gets the name of the provider of the annotated class.

setProvider(string $provider)

Sets the name of the provider of the annotated class.

string
getId()

Gets the unique ID for this annotated class.

string
getClass()

Gets the class of the annotated class.

setClass(string $class)

Sets the class of the annotated class.

Details

string getProvider()

Gets the name of the provider of the annotated class.

Return Value

string

setProvider(string $provider)

Sets the name of the provider of the annotated class.

Parameters

string $provider

string getId()

Gets the unique ID for this annotated class.

Return Value

string

string getClass()

Gets the class of the annotated class.

Return Value

string

setClass(string $class)

Sets the class of the annotated class.

Parameters

string $class