Reflection
in package
Table of Contents
- $app : App
- __construct() : mixed
- Reflection constructor.
- getFunctionParameter() : array<string|int, mixed>
- function
- getMethodParameters() : array<string|int, mixed>|array<string|int, string>
- Class method
- setClassParameters() : array<string|int, mixed>
- setFunctionParameters() : array<string|int, mixed>
- setMethodParameters() : array<string|int, mixed>
Properties
$app
private
App
$app
Methods
__construct()
Reflection constructor.
public
__construct(App $app) : mixed
Parameters
- $app : App
Return values
mixed —getFunctionParameter()
function
public
getFunctionParameter(string|object $function) : array<string|int, mixed>
Parameters
- $function : string|object
Return values
array<string|int, mixed> —getMethodParameters()
Class method
public
getMethodParameters(string $class, string $method) : array<string|int, mixed>|array<string|int, string>
Parameters
- $class : string
- $method : string
Return values
array<string|int, mixed>|array<string|int, string> —setClassParameters()
public
setClassParameters( $class[, array<string|int, mixed> $args = [] ]) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —setFunctionParameters()
public
setFunctionParameters( $function[, array<string|int, mixed> $args = [] ]) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —setMethodParameters()
public
setMethodParameters( $class, $method[, array<string|int, mixed> $args = [] ]) : array<string|int, mixed>