<cfcomponent
output="false"
hint="I provide the based functionality for all Facade objects.">
<cffunction
name="InjectDependency"
access="package"
returntype="any"
output="false"
hint="I inject dependency objecst into the VARIABLES scope of the extending Facade object.">
<cfargument
name="Property"
type="string"
required="true"
hint="The key at which the dependency will be stored."
/>
<cfargument
name="Dependency"
type="any"
required="true"
hint="The dependency object that is being injected into the extending facade object."
/>
<cfset VARIABLES[ ARGUMENTS.Property ] = ARGUMENTS.Dependency />
<cfreturn THIS />
</cffunction>
</cfcomponent>