35 lines
574 B
PHP
35 lines
574 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* This file is part of the PHPFlasher package.
|
||
|
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
|
||
|
*/
|
||
|
|
||
|
namespace Flasher\Prime\EventDispatcher\Event;
|
||
|
|
||
|
use Flasher\Prime\Notification\Envelope;
|
||
|
|
||
|
final class PostUpdateEvent
|
||
|
{
|
||
|
/**
|
||
|
* @var Envelope[]
|
||
|
*/
|
||
|
private $envelopes;
|
||
|
|
||
|
/**
|
||
|
* @param Envelope[] $envelopes
|
||
|
*/
|
||
|
public function __construct(array $envelopes)
|
||
|
{
|
||
|
$this->envelopes = $envelopes;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return Envelope[]
|
||
|
*/
|
||
|
public function getEnvelopes()
|
||
|
{
|
||
|
return $this->envelopes;
|
||
|
}
|
||
|
}
|