$file->type()
Returns the file type.
$file->type(): string|null
Return types
string
ornull
This method modifies the existing $file
object it is applied to and returns it again.
Returns the file type.
$file->type(): string|null
string
ornull
This method modifies the existing $file
object it is applied to and returns it again.