You are here

final class Attribute in Zircon Profile 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Template/Attribute.php \Drupal\Core\Template\Attribute
  2. 8 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attribute.php \Doctrine\Common\Annotations\Annotation\Attribute
Same name and namespace in other branches
  1. 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attribute.php \Doctrine\Common\Annotations\Annotation\Attribute

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

Related topics

1 file declares its use of Attribute
DocParser.php in vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php
1 string reference to 'Attribute'
tour.schema.yml in core/modules/tour/config/schema/tour.schema.yml
core/modules/tour/config/schema/tour.schema.yml

File

vendor/doctrine/annotations/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