Flarum\Core\Command\ReadDiscussion::__construct PHP Method

__construct() public method

public __construct ( integer $discussionId, User $actor, integer $readNumber )
$discussionId integer The ID of the discussion to mark as read.
$actor Flarum\Core\User The user to mark the discussion as read for.
$readNumber integer The number of the post to mark as read.
    public function __construct($discussionId, User $actor, $readNumber)
    {
        $this->discussionId = $discussionId;
        $this->actor = $actor;
        $this->readNumber = $readNumber;
    }
ReadDiscussion