public override Arg [] getArgs(Env env) { AbstractFunction fun = _quercusClass.getInvoke(); if (fun == null) { return(null); } return(fun.getArgs(env)); }
public static ReflectionParameter __construct(Env env, StringValue funName, StringValue paramName) { AbstractFunction fun = env.findFunction(funName); Arg [] args = fun.getArgs(env); for (int i = 0; i < args.length; i++) { if (args[i].getName().equals(paramName)) { return(new ReflectionParameter(fun, args[i])); } } throw new ReflectionException(env, L.l("cannot find parameter '{0}'", paramName)); }
public override Arg [] getArgs(Env env) { return(_fun.getArgs(env)); }