class PluginID extends AnnotationBase (View source)

Defines a Plugin annotation object that just contains an ID.

Properties

string $id

The annotated class ID.

from  AnnotationBase
protected string $class

The class used for this annotated class.

from  AnnotationBase
protected string $provider

The provider of the annotated class.

from  AnnotationBase
string $value

The plugin ID.

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.

get()

Gets the value of an annotation.

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

get()

Gets the value of an annotation.