Skip to content
Browse files

Doctrine: commands for invalidating cache

  • Loading branch information...
1 parent 4befb94 commit d04160287c972d339c99ce711990de0e250ca575 @kolinger committed Dec 28, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 Doctrine/Extension.php
View
8 Doctrine/Extension.php
@@ -92,6 +92,14 @@ public function loadConfiguration()
$container->addDefinition($this->prefix('createSchemaToolConsoleCommand'))
->setClass('Doctrine\ORM\Tools\Console\Command\SchemaTool\CreateCommand')
->addTag('consoleCommand');
+
+ $container->addDefinition($this->prefix('metadataClearCacheConsoleCommand'))
+ ->setClass('Doctrine\ORM\Tools\Console\Command\ClearCache\MetadataCommand')
+ ->addTag('consoleCommand');
+
+ $container->addDefinition($this->prefix('queryClearCacheConsoleCommand'))
+ ->setClass('Doctrine\ORM\Tools\Console\Command\ClearCache\QueryCommand')
+ ->addTag('consoleCommand');
}

0 comments on commit d041602

Please sign in to comment.
Something went wrong with that request. Please try again.