Command/SyncDocumentsCommand.php
changeset 59 ea562f37d7a5
parent 57 186c4121c7b3
equal deleted inserted replaced
55:80a400379dd3 59:ea562f37d7a5
   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)