Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 276 Bytes
<?php
namespace App\Domain\Account\Events;
use Spatie\EventSourcing\ShouldBeStored;
final class MoneySubtracted implements ShouldBeStored
{
/** @var int */
public $amount;
public function __construct(int $amount)
{
$this->amount = $amount;
}
}
You can’t perform that action at this time.