Tomas Votruba 9e103260ec Updated Rector to commit 2f3e9be0ae108c75f9de8fbf2ea92f0393ad9839
2f3e9be0ae [DX] Test BetterNodeFinder with Laravel container (#4106)
2023-06-08 14:23:03 +00:00

58 lines
1.2 KiB
PHP

<?php
namespace RectorPrefix202306\Illuminate\Contracts\Process;
interface InvokedProcess
{
/**
* Get the process ID if the process is still running.
*
* @return int|null
*/
public function id();
/**
* 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\Console\Process\ProcessResult
*/
public function wait(callable $output = null);
}