UserRegistrationExtraFieldsCreateListener
in package
Table of Contents
Methods
- handle() : User|null
- uploadUserAvatar() : User
Methods
handle()
public
handle(User $user, array<string, mixed> $attributes) : User|null
Parameters
- $user : User
- $attributes : array<string, mixed>
Tags
Return values
User|nulluploadUserAvatar()
protected
uploadUserAvatar(User $user, UploadedFile $userProfile, string $imageCrop) : User
Parameters
- $user : User
- $userProfile : UploadedFile
- $imageCrop : string