final class Attribute in Plug 7
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 lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php
File
- lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ Annotation/ Attribute.php, line 31
Namespace
Doctrine\Common\Annotations\AnnotationView source
final class Attribute {
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $type;
/**
* @var boolean
*/
public $required = false;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Attribute:: |
public | property | ||
Attribute:: |
public | property | ||
Attribute:: |
public | property |