W3cubDocs

/Drupal 8

public function AnnotationInterface::setClass

public AnnotationInterface::setClass($class)

Sets the class of the annotated class.

Parameters

string $class:

File

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

Class

AnnotationInterface
Defines a common interface for classed annotations.

Namespace

Drupal\Component\Annotation

Code

public function setClass($class);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Annotation!AnnotationInterface.php/function/AnnotationInterface::setClass/8.1.x