for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace App\Events\Account;
use App\Events\Event;
use App\Models\Account;
class AccountImageServedEvent extends Event
{
/**
* @var Account
*/
private Account $account;
* @param Account $account
public function __construct(Account $account)
$this->account = $account;
}
public function getAccount(): Account
return $this->account;