Graze\Supervisor\ProcessSupervisor::__construct PHP Метод

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

public __construct ( Process $process, Graze\Supervisor\Handler\HandlerInterface $handler = null )
$process Symfony\Component\Process\Process
$handler Graze\Supervisor\Handler\HandlerInterface
    public function __construct(Process $process, HandlerInterface $handler = null)
    {
        $this->handler = $handler ?: $this->getDefaultHandler();
        $this->process = $process;
    }