PHP Class Flarum\Core\Command\ReadDiscussion

Datei anzeigen Open project: flarum/core

Public Properties

Property Type Description
$actor Flarum\Core\User The user to mark the discussion as read for.
$discussionId integer The ID of the discussion to mark as read.
$readNumber integer The number of the post to mark as read.

Public Methods

Method Description
__construct ( integer $discussionId, User $actor, integer $readNumber )

Method Details

__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.

Property Details

$actor public_oe property

The user to mark the discussion as read for.
public User,Flarum\Core $actor
return Flarum\Core\User

$discussionId public_oe property

The ID of the discussion to mark as read.
public int $discussionId
return integer

$readNumber public_oe property

The number of the post to mark as read.
public int $readNumber
return integer