lithium\console\command\Create::invokeMethod()
Helper method to access sub-command information from the main command, without exposing sub-command information publicly.
Parameters
-
string
$method
Name of the method to call
-
array
$param
Parameter list to use when calling $method
Returns
mixedReturns the result of the method call
Source
public function invokeMethod($method, $params = []) {
return call_user_func_array([$this, $method], $params);
}