How to invoke a private method dynamically
Remarks#
Use of <cfinvoke>
or invoke()
should be faster than evaluate()
CFML
<cfinvoke method="#somePrivateMethodName#">
<cfinvokeargument name="argument1" value="one">
</cfinvoke>
CFSCRIPT (CF10+)
invoke("", somePrivateMethodName, {argument1='one'});