PHP Class Flarum\Core\Command\EditPost

Afficher le fichier Open project: flarum/core

Méthodes publiques

Свойство Type Description
$actor Flarum\Core\User The user performing the action.
$data array The attributes to update on the post.
$postId integer The ID of the post to edit.

Méthodes publiques

Méthode Description
__construct ( integer $postId, User $actor, array $data )

Method Details

__construct() public méthode

public __construct ( integer $postId, User $actor, array $data )
$postId integer The ID of the post to edit.
$actor Flarum\Core\User The user performing the action.
$data array The attributes to update on the post.

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

The attributes to update on the post.
public array $data
Résultat array

$postId public_oe property

The ID of the post to edit.
public int $postId
Résultat integer