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
Doctrine
Common
Persistence
Mapping
AbstractClassMetadataFactory
setCacheDriver
Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory::setCacheDriver PHP Method
AbstractClassMetadataFactory Class Documentation
Show file
Open project: doctrine/common
setCacheDriver()
public
method
Sets the cache driver used by the factory to cache ClassMetadata instances.
public
setCacheDriver
(
Doctrine\Common\Cache\Cache
$cacheDriver
= null ) :
void
$cacheDriver
Doctrine\Common\Cache\Cache
return
void
public function setCacheDriver(Cache $cacheDriver = null) { $this->cacheDriver = $cacheDriver; }
AbstractClassMetadataFactory
doLoadMetadata
getAllMetadata
getCacheDriver
getDriver
getFqcnFromAlias
getLoadedMetadata
getMetadataFor
getParentClasses
getReflectionService
hasMetadataFor
initialize
initializeReflection
isEntity
isTransient
loadMetadata
newClassMetadataInstance
onNotFoundMetadata
setCacheDriver
setMetadataFor
setReflectionService
wakeupReflection