PHP 클래스 Flarum\Event\PostWillBeSaved

파일 보기 프로젝트 열기: flarum/core

공개 프로퍼티들

프로퍼티 타입 설명
$actor Flarum\Core\User The user who is performing the action.
$data array The attributes to update on the post.
$post Flarum\Core\Post The post that will be saved.

공개 메소드들

메소드 설명
__construct ( Post $post, User $actor, array $data = [] )

메소드 상세

__construct() 공개 메소드

public __construct ( Post $post, User $actor, array $data = [] )
$post Flarum\Core\Post
$actor Flarum\Core\User
$data array

프로퍼티 상세

$actor 공개적으로 프로퍼티

The user who is performing the action.
public User,Flarum\Core $actor
리턴 Flarum\Core\User

$data 공개적으로 프로퍼티

The attributes to update on the post.
public array $data
리턴 array

$post 공개적으로 프로퍼티

The post that will be saved.
public Post,Flarum\Core $post
리턴 Flarum\Core\Post