You are here

final class Attribute in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/lib/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

1 file declares its use of Attribute
DocParser.php in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php

File

modules/providers/service_container_annotation_discovery/lib/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