public function fork() { $pid = pcntl_fork(); $childProcess = new ChildProcess($pid); return $childProcess; }