private function createParent($pid, $sockets) { fclose($sockets[0]); $this->pid = (string) $pid; $this->socket = $sockets[1]; }