Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Command/CacheFlushCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected function configure()
$this->setDescription('Flushes the given cache');
$this->addArgument('type', InputArgument::OPTIONAL, sprintf('Which type of cache do you want to clear? Valid types are: %s', implode(', ', self::VALID_TYPES)));
$this->addArgument('service', InputArgument::OPTIONAL, 'If using type "provider" you must give a service id for the cache you want to clear.');
$this->setHelp(<<<EOD
$this->setHelp(<<<'EOD'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is correct?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is from styleCI. It surprised me too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird...


Types and their description
all Clear all types of caches
Expand Down
3 changes: 3 additions & 0 deletions src/DependencyInjection/Compiler/DoctrineCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ protected function enableDoctrineSupport(array $config)
continue;
}

// Copy the tagging setting to the $typeConfig
$typeConfig['use_tagging'] = $config['use_tagging'];

// Doctrine can't talk to a PSR-6 cache, so we need a bridge
$bridgeServiceId = sprintf('cache.service.doctrine.%s.%s.bridge', $cacheType, $type);
$this->container->register($bridgeServiceId, DoctrineCacheBridge::class)
Expand Down