コード例 #1
0
 /**
  * {@inheritdoc}
  */
 protected function prepareAnnotationDefinition(AnnotationInterface $annotation, $class)
 {
     parent::prepareAnnotationDefinition($annotation, $class);
     if (!$annotation->getProvider()) {
         $annotation->setProvider($this->getProviderFromNamespace($class));
     }
 }