GrumPHP\Formatter\RawProcessFormatter::format PHP Метод

format() публичный Метод

This method will format the output of a Process object to a string.
public format ( Process $process ) : string
$process Symfony\Component\Process\Process
Результат string
    public function format(Process $process)
    {
        $stdout = $process->getOutput();
        $stderr = $process->getErrorOutput();
        return trim($stdout . PHP_EOL . $stderr);
    }
RawProcessFormatter