filetype
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Gets file type
filetype
(
string $filename
):
string
|
false
public function
type
(
$path
)
{
return
filetype
(
$path
);
}
src/Illuminate/Filesystem/Filesystem.php