copy
laravel/octane
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Copies file
copy
(
string $from
,
string $to
, ?
resource $context
=
null
):
bool
if (
$this
->
confirm
(
'Unable to locate RoadRunner binary. Should Octane download the binary for your operating system?'
,
true
)) {
$this
->
downloadRoadRunnerBinary
();
copy
(
__DIR__
.
'/../stubs/rr.yaml'
,
base_path
(
'.rr.yaml'
));
}
return
base_path
(
'rr'
);
src/Commands/Concerns/InstallsRoadRunnerDependencies.php