<?php
namespace Illuminate\Process;
use InvalidArgumentException;
class Pipe
{
protected $factory;
protected $callback;
protected $pendingProcesses = [];
public function __construct(Factory $factory, callable $callback)
{
$this->factory = $factory;
$this->callback = $callback;
}