protected function saveAnnotation($controller, $annotation)
 {
     $entityManager = $this->getContainer()->get('doctrine')->getManager();
     $exists = $entityManager->getRepository('SEOBundle:MetaTagPattern')->findOneBy(['controller' => $controller, 'entityClass' => $annotation->providerClass]);
     $this->savedController[] = $controller;
     if (is_null($exists)) {
         $pattern = new MetaTagPattern();
         $pattern->setTitle($annotation->title);
         $pattern->setEntityClass($annotation->providerClass);
         $pattern->setController($controller);
         $entityManager->persist($pattern);
     }
 }