public __construct ( |
||
$user | The user that will be saved. | |
$actor | The user who is performing the action. | |
$data | array | The attributes to update on the user. |
public function __construct(User $user, User $actor, array $data)
{
$this->user = $user;
$this->actor = $actor;
$this->data = $data;
}