mirror of
https://github.com/flarum/framework.git
synced 2025-02-24 09:18:57 +08:00
28 lines
562 B
PHP
28 lines
562 B
PHP
![]() |
<?php namespace Flarum\Sticky\Events;
|
||
|
|
||
|
use Flarum\Core\Models\Discussion;
|
||
|
use Flarum\Core\Models\User;
|
||
|
|
||
|
class DiscussionWasUnstickied
|
||
|
{
|
||
|
/**
|
||
|
* @var \Flarum\Core\Models\Discussion
|
||
|
*/
|
||
|
public $discussion;
|
||
|
|
||
|
/**
|
||
|
* @var \Flarum\Core\Models\User
|
||
|
*/
|
||
|
public $user;
|
||
|
|
||
|
/**
|
||
|
* @param \Flarum\Core\Models\Discussion $discussion
|
||
|
* @param \Flarum\Core\Models\User $user
|
||
|
*/
|
||
|
public function __construct(Discussion $discussion, User $user)
|
||
|
{
|
||
|
$this->discussion = $discussion;
|
||
|
$this->user = $user;
|
||
|
}
|
||
|
}
|