class AvatarUploader

Properties

protected $uploadDir

Methods

__construct(FilesystemInterface $uploadDir)

No description

upload(User $user, Image $image)

No description

remove(User $user)

No description

Details

__construct(FilesystemInterface $uploadDir)

Parameters

FilesystemInterface $uploadDir

upload(User $user, Image $image)

Parameters

User $user
Image $image

remove(User $user)

Parameters

User $user