class AvatarUploader
Properties
protected | $uploadDir |
Methods
void
removeFileAfterSave(User $user)
<p>Handle the removal of the old avatar file after a successful user save We don't place this in remove() because otherwise we would call changeAvatarPath 2 times when uploading.</p>