AnnotationInterface
interface AnnotationInterface (View source)
Defines a common interface for classed annotations.
Methods
get()
Gets the value of an annotation.
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
get()
Gets the value of an annotation.
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.