Icicle\Concurrent\Process\Process::getPid PHP Method

getPid() public method

Returns the PID of the child process. Value is only meaningful if the process has been started and PHP was not compiled with --enable-sigchild.
public getPid ( ) : integer
return integer
    public function getPid() : int
    {
        return $this->pid;
    }

Usage Example

Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getPid()
 {
     return $this->process->getPid();
 }