for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Gitamin.
*
* Copyright (C) 2015-2016 The Gitamin Team
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Gitamin\Events\Subscriber;
use Gitamin\Models\Subscriber;
class SubscriberHasSubscribedEvent implements SubscriberEventInterface
{
/**
* The subscriber who has subscribed.
* @var \Gitamin\Models\Subscriber
public $subscriber;
* Create a new subscriber has subscribed event instance.
public function __construct(Subscriber $subscriber)
$this->subscriber = $subscriber;
}