Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class ReflectionHandlerV4 (1.49.0)

Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class ReflectionHandlerV4.

Class for running snippets using phpdocumentor/reflection:v4.

Methods

__construct

createDocBlock

Parameter
NameDescription
classOrMethod mixed
Returns
TypeDescription
phpDocumentor\Reflection\DocBlock

getDocBlockText

Parameter
NameDescription
docBlock phpDocumentor\Reflection\DocBlock
Returns
TypeDescription
string

classes

Parameter
NameDescription
files array
Returns
TypeDescription
string[]

createProjectFactory

Returns
TypeDescription
phpDocumentor\Reflection\Php\ProjectFactory

createDescriptionFactory

Returns
TypeDescription
phpDocumentor\Reflection\DocBlock\DescriptionFactory