Performance - Zend\Cache - Zend\Cache\Storage\Adapter

5 important questions on Performance - Zend\Cache - Zend\Cache\Storage\Adapter

Which interface do all cache adapters implement?

Zend\Cache\Storage\StorageInterface

What is the abstract class for a cache adapter?

Zend\Cache\Storage\Adapter\AbstractAdapter

What factory method exists for creating cache adapters?

Zend\Cache\StorageFactory::factory()
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart

What 2 option keys can be passed to Zend\Cache\StorageFactory::factory()?

'adapter' and 'plugins'

What 5 configuration options (and default values) are available for all cache adapters?

1. ttl - 0
2. namespace - zfcache
3. key_pattern - null
4. readable - true
5. writable - true

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo