Parses a tag definition for a DocBlock.
Cloneable
Final
Instantiable
Methods |
public
__construct
(
string
$name
,
?
phpDocumentor\Reflection\DocBlock\Description
$description
=
NULL
) Parses a tag and populates the member variables. |
public
__toString
() :
string
Returns the tag as a serialized string |
public
static
create
(
string
$body
,
string
$name
=
''
,
?
phpDocumentor\Reflection\DocBlock\DescriptionFactory
$descriptionFactory
=
NULL
,
?
phpDocumentor\Reflection\Types\Context
$context
=
NULL
) :
self
Creates a new tag that represents any unknown tag type.
|
Properties |
Methods |
private
validateTagName
(
string
$name
) :
void
Validates if the tag name matches the expected format, otherwise throws an exception. |
Methods |
public
static
create
(
string
$body
,
string
$name
=
''
,
?
phpDocumentor\Reflection\DocBlock\DescriptionFactory
$descriptionFactory
=
NULL
,
?
phpDocumentor\Reflection\Types\Context
$context
=
NULL
) :
self
Creates a new tag that represents any unknown tag type.
|