Skip to content

Commit

Permalink
Add missing discriminator property and getter to AuditEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Mar 29, 2020
1 parent c57e7d4 commit 61c560c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/DoctrineAuditBundle/Reader/AuditEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ class AuditEntry
*/
protected $object_id;

/**
* @var null|string
*/
protected $discriminator;

/**
* @var null|string
*/
Expand Down Expand Up @@ -113,6 +118,16 @@ public function getObjectId(): string
return $this->object_id;
}

/**
* Get the value of discriminator.
*
* @return null|string
*/
public function getDiscriminator(): ?string
{
return $this->discriminator;
}

/**
* Get the value of transaction_hash.
*
Expand Down

0 comments on commit 61c560c

Please sign in to comment.