PHP 클래스 Flarum\Core\Command\PostReply

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

공개 프로퍼티들

프로퍼티 타입 설명
$actor Flarum\Core\User The user who is performing the action.
$data array The attributes to assign to the new post.
$discussionId integer The ID of the discussion to post the reply to.
$ipAddress string The IP address of the actor.

공개 메소드들

메소드 설명
__construct ( integer $discussionId, User $actor, array $data, string $ipAddress = null )

메소드 상세

__construct() 공개 메소드

public __construct ( integer $discussionId, User $actor, array $data, string $ipAddress = null )
$discussionId integer The ID of the discussion to post the reply to.
$actor Flarum\Core\User The user who is performing the action.
$data array The attributes to assign to the new post.
$ipAddress string The IP address of the actor.

프로퍼티 상세

$actor 공개적으로 프로퍼티

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

$data 공개적으로 프로퍼티

The attributes to assign to the new post.
public array $data
리턴 array

$discussionId 공개적으로 프로퍼티

The ID of the discussion to post the reply to.
public int $discussionId
리턴 integer

$ipAddress 공개적으로 프로퍼티

The IP address of the actor.
public string $ipAddress
리턴 string