function AnnotationInterface::setClass

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::setClass()

Sets the class of the annotated class.

Parameters

string $class: The class of the annotated class.

File

core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 50

Class

AnnotationInterface
Defines a common interface for classed annotations.

Namespace

Drupal\Component\Annotation

Code

public function setClass($class);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.