is_link
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Tells whether the filename is a symbolic link
is_link
(
string $filename
):
bool
continue;
}
if (
is_link
(
$link
)) {
$this
->
laravel
->
make
(
'files'
)->
delete
(
$link
);
}
src/Illuminate/Foundation/Console/StorageLinkCommand.php
protected function
isRemovableSymlink
(
string $link
,
bool $force
):
bool
{
return
is_link
(
$link
) &&
$force
;
}
}
src/Illuminate/Foundation/Console/StorageLinkCommand.php