PHP Class Flarum\Core\Command\DeleteGroup

Show file Open project: flarum/core

Public Properties

Property Type Description
$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.

Public Methods

Method Description
__construct ( integer $groupId, User $actor, array $data = [] )

Method Details

__construct() public method

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.

Property Details

$actor public property

The user performing the action.
public User,Flarum\Core $actor
return Flarum\Core\User

$data public property

Any other group input associated with the action. This is unused by default, but may be used by extensions.
public array $data
return array

$groupId public property

The ID of the group to delete.
public int $groupId
return integer