Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Framework\ObjectManagerInterface $objectManager, Filesystem $filesystem, \Magento\Framework\App\ResourceConnection $resource, array $enforcedOptions=[], array $decorators=[]) | |
Data Fields | |
const | DEFAULT_LIFETIME = 7200 |
const | PARAM_CACHE_FORCED_OPTIONS = 'cache_options' |
Protected Member Functions | |
_getBackendOptions (array $cacheOptions) | |
_getDbAdapterOptions () | |
_getTwoLevelsBackendOptions ($fastOptions, $cacheOptions) | |
_getFrontendOptions (array $cacheOptions) | |
Protected Attributes | |
$_defaultBackend = 'Cm_Cache_Backend_File' | |
$_backendOptions | |
$_resource | |
@SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 18 of file Factory.php.
__construct | ( | \Magento\Framework\ObjectManagerInterface | $objectManager, |
Filesystem | $filesystem, | ||
\Magento\Framework\App\ResourceConnection | $resource, | ||
array | $enforcedOptions = [] , |
||
array | $decorators = [] |
||
) |
\Magento\Framework\ObjectManagerInterface | $objectManager | |
Filesystem | $filesystem | |
\Magento\Framework\App\ResourceConnection | $resource | |
array | $enforcedOptions | |
array | $decorators |
Definition at line 89 of file Factory.php.
|
protected |
Get cache backend options. Result array contain backend type ('type' key) and backend options ('options')
array | $cacheOptions |
Definition at line 213 of file Factory.php.
|
protected |
|
protected |
Get options of cache frontend (options of \Zend_Cache_Core)
array | $cacheOptions |
Definition at line 381 of file Factory.php.
|
protected |
Initialize two levels backend model options
array | $fastOptions | fast level backend type and options |
array | $cacheOptions | all cache options |
Definition at line 335 of file Factory.php.
|
protected |
Definition at line 70 of file Factory.php.
|
protected |
Definition at line 63 of file Factory.php.
|
protected |
Definition at line 80 of file Factory.php.
const DEFAULT_LIFETIME = 7200 |
Default cache entry lifetime
Definition at line 23 of file Factory.php.
const PARAM_CACHE_FORCED_OPTIONS = 'cache_options' |
Caching params, that applied for all cache frontends regardless of type
Definition at line 28 of file Factory.php.