$filename->extension()
Returns the sanitized extension
$filename->extension(): string
Return type
string
This method modifies the existing $filename
object it is applied to and returns it again.
Returns the sanitized extension
$filename->extension(): string
string
This method modifies the existing $filename
object it is applied to and returns it again.