/**
  * @param AuditConfiguration $config
  */
 public function __construct(AuditConfiguration $config)
 {
     $this->config = $config;
     $this->metadataFactory = $config->createMetadataFactory();
 }