PHP Class Flarum\Core\Command\DeleteAvatar

Show file Open project: flarum/core

Public Properties

Property Type Description
$actor Flarum\Core\User The user performing the action.
$userId integer The ID of the user to delete the avatar of.

Public Methods

Method Description
__construct ( integer $userId, User $actor )

Method Details

__construct() public method

public __construct ( integer $userId, User $actor )
$userId integer The ID of the user to delete the avatar of.
$actor Flarum\Core\User The user performing the action.

Property Details

$actor public property

The user performing the action.
public User,Flarum\Core $actor
return Flarum\Core\User

$userId public property

The ID of the user to delete the avatar of.
public int $userId
return integer