private function getSupervisorPid()
    {
        $pidPath = $this->paths['pid_file'];

        $pid = null;
        if (is_file($pidPath) && is_readable($pidPath)) {
            $pid = (int)file_get_contents($pidPath);
        }

        return $pid;
    }
private function getSupervisorPid()
    {
        $pidPath = $this->paths['pid_file'];

        $pid = null;
        if (is_file($pidPath) && is_readable($pidPath)) {
            $pid = (int)file_get_contents($pidPath);
        }

        return $pid;
    }
private function getSupervisorPid ( ) { $ pidPath = $ this -> paths [ 'pid_file' ] ; $ pid = null ; if ( is_file ( $ pidPath ) && is_readable ( $ pidPath ) ) { $ pid = ( int ) file_get_contents ( $ pidPath ) ; } return $ pid ; }
Determines the supervisord process id

@return null|int
Determines the supervisord process id