[Coldbox 4.0.0-BE] inject cache

Previously, we injected a reference into a model as follows:

property name=“cbCache” inject=“coldbox:cacheManager”;

How is this supposed to be done now?

The CacheBox namespace that has been around since ColdBox 3.0.

http://wiki.coldbox.org/wiki/WireBox.cfm#CacheBox_Namespace

The “cachemanager” and “OCM” stuff has just been there for 2.x backwards compat ever since.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

thx