Created
March 15, 2018 10:46
-
-
Save emir/c9a9343b0f72e6c7188b22e4814ae5ca to your computer and use it in GitHub Desktop.
go to hell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfcomponent> | |
| <cfset this.hello = "Hello" /> | |
| <cfset this.world = "world" /> | |
| <cffunction name="sayHello"> | |
| <cfreturn this.hello & ", " & this.world & "!" /> | |
| </cffunction> | |
| <cffunction name="setHello"> | |
| <cfargument name="newHello" type="string" required="true" /> | |
| <cfset this.hello = arguments.newHello /> | |
| <cfreturn true /> | |
| </cffunction> | |
| <cffunction name="setWorld"> | |
| <cfargument name="newWorld" type="string" required="true" /> | |
| <cfset this.world = arguments.newWorld /> | |
| <cfreturn true /> | |
| </cffunction> | |
| <cffunction name="getHello"> | |
| <cfreturn this.hello /> | |
| </cffunction> | |
| <cffunction name="getWorld"> | |
| <cfreturn this.world /> | |
| </cffunction> | |
| </cfcomponent> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment