Returns the original file extension.
It is extracted from the original file name that was uploaded. This should not be considered as a safe value to use for a file name on your servers.
public function getClientOriginalExtension() : string { return pathinfo($this->originalName, \PATHINFO_EXTENSION); }