<?php

declare(strict_types=1);

namespace App\Services\Supplier;

use Symfony\Component\Process\Process;

final class SymfonyProcessFactory implements ProcessFactory
{
    public function create(array $command, ?string $cwd = null): PlaywrightProcessHandle
    {
        return new SymfonyPlaywrightProcessHandle(new Process($command, $cwd));
    }
}
