function CompleteCommand::log
1 call to CompleteCommand::log()
- CompleteCommand::execute in vendor/
symfony/ console/ Command/ CompleteCommand.php - Executes the current command.
File
-
vendor/
symfony/ console/ Command/ CompleteCommand.php, line 203
Class
- CompleteCommand
- Responsible for providing the values to the shell completion.
Namespace
Symfony\Component\Console\CommandCode
private function log($messages) : void {
if (!$this->isDebug) {
return;
}
$commandName = basename($_SERVER['argv'][0]);
file_put_contents(sys_get_temp_dir() . '/sf_' . $commandName . '.log', implode(\PHP_EOL, (array) $messages) . \PHP_EOL, \FILE_APPEND);
}