Tag
Superclass for any parsed PHPDoc.
Constructors / Destructors
Returns | Signature and Description |
---|---|
void | __construct ( )Creates a new Tag. |
Instance Methods
Returns | Signature and Description |
---|---|
string | Returns a string representation. |
string | getName ()Gets the name of the tag |
bool | Whether this tag is needed in the vector. |
Method Details
__construct
public function
__construct
(string
$name
)Creates a new Tag.
Name | Type | Description |
---|---|---|
$name | string | The type of tag |
__toString
public function
__toString
()Returns a string representation.
Type | Description |
---|---|
string | The string representation |
getName
public function
getName
()Gets the name of the tag
Type | Description |
---|---|
string | The name |
isNeeded
public function
isNeeded
(ConstVector
<Tag
> $tags
)Whether this tag is needed in the vector.
Name | Type | Description |
---|---|---|
$tags | ConstVector <Tag > | The tags |
Type | Description |
---|---|
bool |
|