<?php file_exists(string $filename): bool
<?php { $path = $this->basePath.'/bootstrap/app.php'; if (! file_exists($path)) { throw new RuntimeException("Application bootstrap file not found [{$path}]."); }
<?php $process = Process::fromShellCommandline($command, null, null, null, null); if ('\\' !== DIRECTORY_SEPARATOR && file_exists('/dev/tty') && is_readable('/dev/tty')) { try { $process->setTty(true); } catch (RuntimeException $e) {
<?php $phpPath = (new PhpExecutableFinder)->find(); if (! file_exists($composerPath)) { $composerPath = (new ExecutableFinder())->find('composer'); }
<?php protected function findRoadRunnerBinary(): ?string { if (file_exists(base_path('rr'))) { return base_path('rr'); }