<cfinterface>
Defines an interface that consists of a set of signatures for functions.
The interface does not include the full function definitions; instead, you implement the functions in a Component.
The interfaces defined using this tag can be used to create a reusable application framework.
This tag must have a body.
This tag is also supported within <cfscript>
<cfinterface
displayname=string
extends=string
hint=string
><!--- body ---></cfinterface>
Examples
Simple Example
<cfinterface displayName="give_any_name" hint="interface test">
<!--- Some functions here -->
</cfinterface>
See also
- Components (CFCs)
- <cfcomponent>
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)