CachePoolPass::getServiceProvider()

static getServiceProvider(ContainerBuilder $container, $name) Parameters ContainerBuilder $container $name

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

CacheLoader

class CacheLoader extends Loader CacheLoader is a loader that caches other loaders responses on the filesystem. This cache only caches on disk to allow PHP accelerators to cache the opcodes. All other mechanism would imply the use of eval(). Methods setLogger(LoggerInterface $logger) Sets the debug logger to use for this loader. from Loader __construct(LoaderInterface $loader, string $dir) Constructor. Storage|bool load(TemplateReferenceInterface $template) Loads a template.

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::log()

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

CacheItem::isHit()

isHit() {@inheritdoc}

CacheItem::getKey()

getKey() {@inheritdoc}

CacheItem::expiresAt()

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

CacheItem::expiresAfter()

expiresAfter($time) {@inheritdoc} Parameters $time

CacheItem

class CacheItem implements CacheItemInterface Methods getKey() {@inheritdoc} get() {@inheritdoc} isHit() {@inheritdoc} set($value) {@inheritdoc} expiresAt($expiration) {@inheritdoc} expiresAfter($time) {@inheritdoc} static validateKey(string $key) Validates a cache key according to PSR-6. static log(LoggerInterface $logger = null, $message, $context = array()) Internal logging helper. Details getKey() {@inherit