Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sulu
Bundle
MediaBundle
Media
FormatCache
FormatCacheClearer
add
Sulu\Bundle\MediaBundle\Media\FormatCache\FormatCacheClearer::add PHP Method
FormatCacheClearer Class Documentation
Show file
Open project: sulu/sulu
add()
public
method
Adds a cache to the aggregate.
public
add
(
Sulu\Bundle\MediaBundle\Media\FormatCache\FormatCacheInterface
$cache
,
string
$alias
)
$cache
Sulu\Bundle\MediaBundle\Media\FormatCache\FormatCacheInterface
The cache
$alias
string
The cache alias
public function add(FormatCacheInterface $cache, $alias) { $this->caches[$alias] = $cache; }
FormatCacheClearer
add
clear