Reflection class for an {@}method in a Docblock.
CloneableFinalInstantiable
Methods |
public __construct(string $methodName, array $arguments = [], ?phpDocumentor
|
public __toString() : string |
public static create(string $body, ?phpDocumentor
|
public getArguments() : array
|
public getMethodName() : string Retrieves the method name. |
public getParameters() : array
|
public getReturnType() : phpDocumentor |
public isStatic() : bool Checks whether the method tag describes a static method or not.
|
public returnsReference() : bool |
Properties |
protected string $name = 'method' |
Properties |
private bool $isStatic |
private string $methodName |
private array $parameters
|
private bool $returnsReference |
private phpDocumentor |
Methods |
private filterArguments(array $arguments = []) : array
|
private fromLegacyArguments(array $arguments) : array
|
private static stripRestArg(string $argument) : string |
Methods |
public static create(string $body, ?phpDocumentor
|
private static stripRestArg(string $argument) : string |