if(null !== $callback){ if(!$this->processPipes->haveReadSupport()){ $this->stop(0); thrownewLogicException('Pass the callback to the "Process::start" method or call enableOutput to use a callback with "Process::wait".'); } $this->callback = $this->buildCallback($callback); }
if(null !== $callback){ if(!$this->processPipes->haveReadSupport()){ $this->stop(0); thrownewLogicException('Pass the callback to the "Process::start" method or call enableOutput to use a callback with "Process::wait".'); } $this->callback = $this->buildCallback($callback); }