AnnotWithDefaultValue.php

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

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation

File

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

View source
<?php

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


/** @Annotation */
class AnnotWithDefaultValue {
    
    /** @var string */
    public $foo = 'bar';

}

Classes

Title Deprecated Summary
AnnotWithDefaultValue

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