CacheControllerFactory

Implements \Joomla\CMS\Cache\CacheControllerFactoryInterface

Default factory for creating CacheController objects

since

4.0.0

Methods

createCacheController

Method to get an instance of a cache controller.

createCacheController(string $type = 'output', array $options = array()) : \Joomla\CMS\Cache\CacheController
since

4.0.0

throws

\RuntimeException

Arguments

$type

stringThe cache object type to instantiate

$options

arrayArray of options

Response

\Joomla\CMS\Cache\CacheController