class MethodSymbol (View source)

Properties

protected ReflectionMethod $reflectionMethod
protected ClassSymbol $classSymbol
protected string $handle The method handle.
protected ReflectionParameter[] $parameters The parameters.
protected string $comment The docblock.

Methods

__construct(ClassSymbol $class, ReflectionMethod $method)

No description

string
render(string $eol = "\n", string $padding = ' ')

Render the Method.

Details

__construct(ClassSymbol $class, ReflectionMethod $method)

Parameters

ClassSymbol $class
ReflectionMethod $method

string render(string $eol = "\n", string $padding = ' ')

Render the Method.

Parameters

string $eol
string $padding

Return Value

string