PHP Class Flarum\Core\Command\DeleteDiscussion

Afficher le fichier Open project: flarum/core

Méthodes publiques

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
__construct ( integer $discussionId, User $actor, array $data = [] )

Method Details

__construct() public méthode

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.

Property Details

$actor public_oe property

The user performing the action.
public User,Flarum\Core $actor
Résultat Flarum\Core\User

$data public_oe property

Any other user input associated with the action. This is unused by default, but may be used by extensions.
public array $data
Résultat array

$discussionId public_oe property

The ID of the discussion to delete.
public int $discussionId
Résultat integer