Symfony\Component\HttpFoundation\File\UploadedFile::getClientOriginalExtension
Returns the original file extension
It is extracted from the original file name that was uploaded. Then is should not be considered as a safe value.
Signature
public function getClientOriginalExtension()
Returns
- string
- The extension