ClassWithInvalidAnnotationTargetAtClass.php

Same filename in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php
  2. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php
  3. 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures;

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

/**
 * @AnnotationTargetPropertyMethod("Some data")
 */
class ClassWithInvalidAnnotationTargetAtClass {
    
    /**
     * @AnnotationTargetPropertyMethod("Bar")
     */
    public $foo;

}

Classes

Title Deprecated Summary
ClassWithInvalidAnnotationTargetAtClass Plugin annotation @AnnotationTargetPropertyMethod("Some data");

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