expressly/php-common

View on GitHub
src/Event/BannerEvent.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Expressly\Event;

use Expressly\Entity\Merchant;

class BannerEvent extends PasswordedEvent
{
    private $email;

    public function __construct(Merchant $merchant, $email)
    {
        parent::__construct($merchant);
        $this->email = $email;
    }

    public function getEmail()
    {
        return $this->email;
    }
}