mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Make getter for bodyTemplate public in order to make conversion of existig Description to custom Description class easier (e.g. new MyDescriptionClass($origionalDescription->getBodyTemplate(), $origionalDescription->getTags();)
This commit is contained in:
committed by
Mike van Riel
parent
51b773933d
commit
1070e666aa
@@ -68,6 +68,15 @@ class Description
|
|||||||
$this->tags = $tags;
|
$this->tags = $tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the body template
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getBodyTemplate(): string
|
||||||
|
{
|
||||||
|
return $this->bodyTemplate;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the tags for this DocBlock.
|
* Returns the tags for this DocBlock.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user