AnnotationWithVarType.php
Same filename in other branches
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesFile
-
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
Title | Deprecated | Summary |
---|---|---|
AnnotationWithVarType | Plugin annotation @Target("ALL"); |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.