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

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

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

Свойство Тип Описание
$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.

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

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

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

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

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.

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

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

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

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

The attributes to update on the post.
public array $data
Результат array

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

The ID of the post to edit.
public int $postId
Результат integer