Handle subscribers

This commit is contained in:
Joseph Cohen
2015-05-24 16:33:03 -05:00
parent 254c578ca2
commit 55dcf3a277
48 changed files with 1214 additions and 35 deletions
+34
View File
@@ -0,0 +1,34 @@
<?php
/*
* This file is part of Cachet.
*
* (c) Cachet HQ <support@cachethq.io>
*
* 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;
}
}