- /**
- * Create instances of every cache frontend known to the system.
- *
- * Method is to be used for delayed initialization of the iterator.
- *
- * @return void
- */
- protected function _initialize()
- {
- if ($this->_instances === null) {
- $this->_instances = [];
- foreach ($this->_getCacheSettings() as $frontendId => $frontendOptions) {
- $this->_instances[$frontendId] = $this->_factory->create($frontendOptions);
- }
- }
- }