class AnnotationWithRequiredAttributesWithoutContructor
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributesWithoutContructor
- 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributesWithoutContructor
- 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributesWithoutContructor
Plugin annotation
@Target("ALL");
Hierarchy
- class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributesWithoutContructor
Expanded class hierarchy of AnnotationWithRequiredAttributesWithoutContructor
Related topics
File
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ AnnotationWithRequiredAttributesWithoutContructor.php, line 9
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesView source
final class AnnotationWithRequiredAttributesWithoutContructor {
/**
* @Required
* @var string
*/
public $value;
/**
* @Required
* @var Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetAnnotation
*/
public $annot;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
AnnotationWithRequiredAttributesWithoutContructor::$annot | public | property | @Required |
AnnotationWithRequiredAttributesWithoutContructor::$value | public | property | @Required |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.