Command/SyncDocumentsCommand.php
changeset 57 186c4121c7b3
parent 42 0e57c730bb18
equal deleted inserted replaced
49:e854d8cb376c 57:186c4121c7b3
   150     
   150     
   151     }
   151     }
   152     
   152     
   153     private function execute_docs(InputInterface $input, OutputInterface $output)
   153     private function execute_docs(InputInterface $input, OutputInterface $output)
   154     {
   154     {
       
   155         $class = $this->getContainer()->getParameter('wiki_tag.document_class');
   155         $all = $input->getOption('all');
   156         $all = $input->getOption('all');
   156         $doctrine = $this->getContainer()->get('doctrine');
   157         $doctrine = $this->getContainer()->get('doctrine');
   157         $docrep = $doctrine->getRepository('WikiTagBundle:Document');
   158         $docrep = $doctrine->getRepository('WikiTagBundle:Document');
   158         
   159         
   159         if($all)
   160         if($all)