CacheControllerFactory

Implements CacheControllerFactoryInterface

Default factory for creating CacheController objects

since

4.0.0

package

Joomla CMS

Methods

createCacheController

Method to get an instance of a cache controller.

createCacheController( type = 'output', mixed||string|int options = []) : \Joomla\CMS\Cache\CacheController
since

4.0.0

throws

RuntimeException

Arguments

type

stringThe cache object type to instantiate

options

array<string|int, mixed>Array of options

Response

CacheController