You are here

AnnotationWithVarType.php in Drupal 9

File

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

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


/**
 * @Annotation
 * @Target("ALL")
 */
final class AnnotationWithVarType {

  /**
   * @var mixed
   */
  public $mixed;

  /**
   * @var boolean
   */
  public $boolean;

  /**
   * @var bool
   */
  public $bool;

  /**
   * @var float
   */
  public $float;

  /**
   * @var string
   */
  public $string;

  /**
   * @var integer
   */
  public $integer;

  /**
   * @var array
   */
  public $array;

  /**
   * @var Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetAll
   */
  public $annotation;

  /**
   * @var array<integer>
   */
  public $arrayOfIntegers;

  /**
   * @var string[]
   */
  public $arrayOfStrings;

  /**
   * @var array<Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetAll>
   */
  public $arrayOfAnnotations;

}

Classes

Namesort descending Description
AnnotationWithVarType Plugin annotation @Target("ALL");