final class Attribute

Same name in this branch

Annotation that can be used to signal to the parser to check the attribute type during the parsing process.

@author Fabio B. Silva <fabio.bat.silva@gmail.com>

Hierarchy

  • class \Doctrine\Common\Annotations\Annotation\Attribute

Expanded class hierarchy of Attribute

1 file declares its use of Attribute
DocParser.php in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/DocParser.php
2 string references to 'Attribute'
GetSetMethodNormalizerTest::attributeProvider in drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php
tour.schema.yml in drupal/core/modules/tour/config/schema/tour.schema.yml
drupal/core/modules/tour/config/schema/tour.schema.yml

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/Annotation/Attribute.php, line 31

Namespace

Doctrine\Common\Annotations\Annotation
View source
final class Attribute {

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

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

  /**
   * @var boolean
   */
  public $required = false;

}

Members