Quantcast

[ZF2] Injecting cache to a module

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[ZF2] Injecting cache to a module

B. Kamer
Hello,


I am trying to do the exact same thing as the poster from this thread http://bit.ly/zdkDPw

However I keep getting this exception. Invalid instantiator of type "NULL" for "Zend\Cache\Storage\Adapter"

I'm guessing my configuration of the DI is not as it should be. The post is a little confusing about what the final configuration should be and my understanding of DI options is still lacking. I ask if the original poster would be so kind to post the final DI configuration (and possibly Module code).

Additionally, is there some user documentation that clarifies the differences between the 'instance', 'definition', 'preference' properties of DI? How do 'instance' relate to 'definition'?.

I have no idea how I would would configure such a cache object

Kind regards,
Bas
--
List: [hidden email]
Info: http://framework.zend.com/archives
Unsubscribe: [hidden email]


Loading...