Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Contracts/Process/InvokedProcess.php
Строк: 60
<?php

namespace IlluminateContractsProcess;

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 IlluminateConsoleProcessProcessResult
     */
    
public function wait(?callable $output null);
}
Онлайн: 1
Реклама