PHP Class Flarum\Event\AvatarWillBeSaved

Show file Open project: flarum/core

Public Properties

Property Type Description
$actor Flarum\Core\User The user performing the action.
$path string The path to the avatar that will be saved.
$user Flarum\Core\User The user whose avatar will be saved.

Public Methods

Method Description
__construct ( User $user, User $actor, string $path )

Method Details

__construct() public method

public __construct ( User $user, User $actor, string $path )
$user Flarum\Core\User The user whose avatar will be saved.
$actor Flarum\Core\User The user performing the action.
$path string The path to the avatar that will be saved.

Property Details

$actor public property

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

$path public property

The path to the avatar that will be saved.
public string $path
return string

$user public property

The user whose avatar will be saved.
public User,Flarum\Core $user
return Flarum\Core\User