mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-22 18:55:43 +01:00
37 lines
761 B
PHP
37 lines
761 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\Bus\Commands\Subscriber;
|
|
|
|
use CachetHQ\Cachet\Models\Subscriber;
|
|
|
|
final class UnsubscribeSubscriberCommand
|
|
{
|
|
/**
|
|
* The subscriber to unsubscribe.
|
|
*
|
|
* @var \CachetHQ\Cachet\Models\Subscriber
|
|
*/
|
|
public $subscriber;
|
|
|
|
/**
|
|
* Create a unsubscribe subscriber command instance.
|
|
*
|
|
* @param \CachetHQ\Cachet\Models\Subscriber $subscriber
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(Subscriber $subscriber)
|
|
{
|
|
$this->subscriber = $subscriber;
|
|
}
|
|
}
|