Skip to content

Instantly share code, notes, and snippets.

@dfgrumpy
Created Dec 12, 2013
Embed
What would you like to do?
<cfscript>
myObj = createObject("component",'test');
writeDump(myObj.genericContainer());
</cfscript>
component {
public function genericContainer() {
private function helloInt() {
return "Hello There";
}
return {
hello: function(){
return helloInt();
}
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment