Ntb\RestAPI\TestHelper::invoke
Call protected/private method of a class.
- Author: Juan Treminio
Signature
public function invoke(&
$object,
string
$methodName,
[array
$parameters = ] )
Parameters
$object
—$methodName
— string- Method name to call
$parameters
— array- Array of parameters to pass into method.
Returns
- mixed
- Method return.