You are here

ClassWithInvalidAnnotationTargetAtMethod.php in Drupal 9

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
View source
<?php

namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures;

use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass;

/**
 * @AnnotationTargetClass("Some data")
 */
class ClassWithInvalidAnnotationTargetAtMethod {

  /**
   * @AnnotationTargetClass("functionName")
   */
  public function functionName($param) {
  }

}

Classes

Namesort descending Description
ClassWithInvalidAnnotationTargetAtMethod Plugin annotation @AnnotationTargetClass("Some data");