[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.


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



ColdBox Platform Evangelist
Ortus Solutions, Corp

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