Could You explain me, how I have to setup zend-cache in main configuration file service_manager’s section.
In documentation I have tutorial, how to do it by calling service manager’s methods.
I have configuration, but it only throws exceptions, if I want to get service in application.
'service_manager' => [ 'factories' => [ 'storage' => 'Zend\Cache\Service\StorageCacheFactory', ], ], 'storage' => [ 'adapter' => [ 'name' => 'apc', 'options' => [ 'cache_dir' => __DIR__ . '/../../data/cache', 'ttl' => (60 * 60 * 24) * 1, ], ],
May be I have to use another factory, or use section ‘abstract_factories’.