ok

Mini Shell

Direktori : /home2/selectio/public_html/fms-worksuite/vendor/phpro/grumphp/src/Exception/
Upload File :
Current File : /home2/selectio/public_html/fms-worksuite/vendor/phpro/grumphp/src/Exception/PlatformException.php

<?php

declare(strict_types=1);

namespace GrumPHP\Exception;

use GrumPHP\Util\Platform;
use Symfony\Component\Process\Process;

class PlatformException extends RuntimeException
{
    public static function commandLineStringLimit(Process $process): self
    {
        return new self(sprintf(
            'The Windows maximum amount of %s input characters exceeded while running process: %s ...',
            Platform::WINDOWS_COMMANDLINE_STRING_LIMITATION,
            substr($process->getCommandLine(), 0, 75)
        ));
    }
}

Zerion Mini Shell 1.0