public function handle(ApiDoc $annotation, array $annotations, Route $route, \ReflectionMethod $method)
 {
     foreach ($annotations as $annot) {
         if ($annot instanceof Cache) {
             $annotation->setCache($annot->getMaxAge());
         } elseif ($annot instanceof Security) {
             $annotation->setAuthentication(true);
         }
     }
 }