CachePoolPass

class CachePoolPass implements CompilerPassInterface Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. static getServiceProvider(ContainerBuilder $container, $name) Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container static getServiceProvider(Contai

CachePoolPass::process()

process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

CacheWarmer

class CacheWarmer implements CacheWarmerInterface Abstract cache warmer that knows how to write a file to the cache.

CacheItem::validateKey()

static validateKey(string $key) Validates a cache key according to PSR-6. Parameters string $key The key to validate Exceptions InvalidArgumentException When $key is not valid.

CacheItem::getKey()

getKey() {@inheritdoc}

CacheItem::log()

static log(LoggerInterface $logger = null, $message, $context = array()) Internal logging helper. Parameters LoggerInterface $logger $message $context

CacheItem::isHit()

isHit() {@inheritdoc}

CacheInterface::write()

write(ClassMetadata $metadata) Stores a class metadata in the cache. Parameters ClassMetadata $metadata A Class Metadata

CacheItem::expiresAt()

expiresAt($expiration) {@inheritdoc} Parameters $expiration

CacheInterface::read()

ClassMetadata|false read(string $class) Returns the metadata for the given class from the cache. Parameters string $class Class Name Return Value ClassMetadata|false A ClassMetadata instance or false on miss