Skip to content

Commit

Permalink
Add AccountableEvent interface that extends Event interface.
Browse files Browse the repository at this point in the history
AccountableEvent adds the method raisedBy() to the Event Interface.
  • Loading branch information
ericksonreyes committed Jul 16, 2019
1 parent a9e318e commit 775c7cb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/EricksonReyes/DomainDrivenDesign/Domain/AccountableEvent.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace EricksonReyes\DomainDrivenDesign\Domain;

/**
* Interface AccountableEvent
* @package EricksonReyes\DomainDrivenDesign\Domain
*/
interface AccountableEvent extends Event
{
/**
* @return string
*/
public function raisedBy(): string;

}

0 comments on commit 775c7cb

Please sign in to comment.