public __construct ( integer $discussionId, |
||
$discussionId | integer | The ID of the discussion to post the reply to. |
$actor | 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. |
public function __construct($discussionId, User $actor, array $data, $ipAddress = null)
{
$this->discussionId = $discussionId;
$this->actor = $actor;
$this->data = $data;
$this->ipAddress = $ipAddress;
}