35 lines
673 B
PHP
35 lines
673 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Cachet.
|
|
*
|
|
* (c) Alt Three Services Limited
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace CachetHQ\Cachet\Events;
|
|
|
|
use CachetHQ\Cachet\Models\Subscriber;
|
|
|
|
class CustomerHasSubscribedEvent
|
|
{
|
|
/**
|
|
* The customer who has subscribed.
|
|
*
|
|
* @var \CachetHQ\Cachet\Models\Subscriber
|
|
*/
|
|
public $subscriber;
|
|
|
|
/**
|
|
* Create a new customer has subscribed event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(Subscriber $subscriber)
|
|
{
|
|
$this->subscriber = $subscriber;
|
|
}
|
|
}
|