framework/src/Events/DiscussionStateWillBeSaved.php

30 lines
548 B
PHP
Raw Normal View History

<?php
/*
* 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;
use Flarum\Core\Discussions\DiscussionState;
class DiscussionStateWillBeSaved
{
/**
* @var DiscussionState
*/
public $state;
/**
* @param DiscussionState $state
*/
public function __construct(DiscussionState $state)
{
$this->state = $state;
}
}