/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Contracts/Process/InvokedProcess.php
79 строк
2 KB
Mior Muhammad Zaki
Merge tag 'v12.38.1'
13 ноя 2025, 10:12
13 ноя 2025, 10:12
1620d26
Код
Авторство
О чём код?
<?php namespace Illuminate\Contracts\Process; interface InvokedProcess { /** * Get the process ID if the process is still running. * * @return int|null */ public function id(); /** * Get the command line for the process. * * @return string */ public function command(); /** * Send a signal to the process. * * @param int $signal * @return $this */ public function signal(int $signal); /** * Determine if the process is still running. * * @return bool */ public function running(); /** * Get the standard output for the process. * * @return string */ public function output(); /** * Get the error output for the process. * * @return string */ public function errorOutput(); /** * Get the latest standard output for the process. * * @return string */ public function latestOutput(); /** * Get the latest error output for the process. * * @return string */ public function latestErrorOutput(); /** * Wait for the process to finish. * * @param callable|null $output * @return \Illuminate\Process\ProcessResult */ public function wait(?callable $output = null); /** * Wait until the given callback returns true. * * @param callable|null $output * @return \Illuminate\Process\ProcessResult */ public function waitUntil(?callable $output = null); }