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

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

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

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

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

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

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

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

public __construct ( integer $groupId, User $actor, array $data = [] )
$groupId integer The ID of the group to delete.
$actor Flarum\Core\User The user performing the action.
$data array Any other group 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 group input associated with the action. This is unused by default, but may be used by extensions.
public array $data
Результат array

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

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