Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Component/Annotation/AnnotationBase.php \Drupal\Component\Annotation\AnnotationBase::getProvider()
  2. 9 core/lib/Drupal/Component/Annotation/AnnotationBase.php \Drupal\Component\Annotation\AnnotationBase::getProvider()

Gets the name of the provider of the annotated class.

Return value

string

Overrides AnnotationInterface::getProvider

File

core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 34

Class

AnnotationBase
Provides a base class for classed annotations.

Namespace

Drupal\Component\Annotation

Code

public function getProvider() {
  return $this->provider;
}