unlink
laravel/octane
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Deletes a file
unlink
(
string $filename
, ?
resource $context
=
null
):
bool
return
$this
->
warn
(
'Unable to download RoadRunner binary. The HTTP request exception has been logged.'
);
}
unlink
(
"
$roadRunnerBinary
.backup"
);
}
}
}
src/Commands/Concerns/InstallsRoadRunnerDependencies.php
public function
delete
():
bool
{
if (
is_writable
(
$this
->
path
)) {
return
unlink
(
$this
->
path
);
}
return
false
;
src/RoadRunner/ServerStateFile.php
public function
delete
():
bool
{
if (
is_writable
(
$this
->
path
)) {
return
unlink
(
$this
->
path
);
}
return
false
;
src/Swoole/ServerStateFile.php