2015-08-27 01:40:18 +02:00
|
|
|
<?php
|
2015-08-26 16:18:58 +09:30
|
|
|
/*
|
|
|
|
* This file is part of Flarum.
|
|
|
|
*
|
|
|
|
* (c) Toby Zerner <toby.zerner@gmail.com>
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Flarum\Events;
|
2015-07-04 12:24:48 +09:30
|
|
|
|
|
|
|
use Flarum\Core\Discussions\DiscussionState;
|
|
|
|
|
|
|
|
class DiscussionStateWillBeSaved
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var DiscussionState
|
|
|
|
*/
|
|
|
|
public $state;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param DiscussionState $state
|
|
|
|
*/
|
|
|
|
public function __construct(DiscussionState $state)
|
|
|
|
{
|
|
|
|
$this->state = $state;
|
|
|
|
}
|
|
|
|
}
|