PHP Класс Flarum\Core\Command\DeleteDiscussion

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$actor Flarum\Core\User The user performing the action.
$data array Any other user input associated with the action. This is unused by default, but may be used by extensions.
$discussionId integer The ID of the discussion to delete.

Открытые методы

Метод Описание
__construct ( integer $discussionId, User $actor, array $data = [] )

Описание методов

__construct() публичный Метод

public __construct ( integer $discussionId, User $actor, array $data = [] )
$discussionId integer The ID of the discussion to delete.
$actor Flarum\Core\User The user performing the action.
$data array Any other user input associated with the action. This is unused by default, but may be used by extensions.

Описание свойств

$actor публичное свойство

The user performing the action.
public User,Flarum\Core $actor
Результат Flarum\Core\User

$data публичное свойство

Any other user input associated with the action. This is unused by default, but may be used by extensions.
public array $data
Результат array

$discussionId публичное свойство

The ID of the discussion to delete.
public int $discussionId
Результат integer