Example #1
0
 /**
  * @param AuditLog $auditLog
  */
 public function addAuditLog(AuditLog $auditLog)
 {
     $this->auditLogs->add($auditLog);
 }
Example #2
0
 /**
  * @param AuditLogInterface $auditLog
  */
 public function addAuditLog(AuditLogInterface $auditLog)
 {
     if (!$this->auditLogs->contains($auditLog)) {
         $this->auditLogs->add($auditLog);
     }
 }