ComponentsRegistryCache
in package
Class ComponentsRegistryCache
Table of Contents
- $cache : SafeCache
- __construct() : mixed
- ComponentsRegistryCache constructor.
- clear() : void
- get() : ComponentsRegistry
- has() : bool
- set() : void
Properties
$cache
private
SafeCache
$cache
Methods
__construct()
ComponentsRegistryCache constructor.
public
__construct(CacheFactory $cacheFactory) : mixed
Parameters
- $cacheFactory : CacheFactory
Return values
mixed —clear()
public
clear() : void
Return values
void —get()
public
get(string $type) : ComponentsRegistry
Parameters
- $type : string
Return values
ComponentsRegistry —has()
public
has(string $type) : bool
Parameters
- $type : string
Return values
bool —set()
public
set(string $type, ComponentsRegistry $registry) : void
Parameters
- $type : string
- $registry : ComponentsRegistry