MultipleProviderAnnotationInterface
interface MultipleProviderAnnotationInterface implements AnnotationInterface (View source)
Defines a common interface for classed annotations with multiple providers.
Methods
Gets the name of the provider of the annotated class.
Sets the name of the provider of the annotated class.
Gets the provider names of the annotated class.
Sets the provider names 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.
string[]
getProviders()
Gets the provider names of the annotated class.
setProviders(array $providers)
Sets the provider names of the annotated class.