ClassWithInvalidAnnotationTargetAtMethod.php
Same filename in other branches
- 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
- 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
- 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesFile
-
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
Title | Deprecated | Summary |
---|---|---|
ClassWithInvalidAnnotationTargetAtMethod | Plugin annotation @AnnotationTargetClass("Some data"); |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.