original_string: protected function getCurrentPid()
      {
          if ($this->currentPid) {
              return $this->currentPid;
          }
  
          $path = $this->getPidPath();
  
          return $this->currentPid = file_exists($path)
              ? (int) file_get_contents($path) ?? $this->removePidFile()
              : null;
      }
code: protected function getCurrentPid()
      {
          if ($this->currentPid) {
              return $this->currentPid;
          }
  
          $path = $this->getPidPath();
  
          return $this->currentPid = file_exists($path)
              ? (int) file_get_contents($path) ?? $this->removePidFile()
              : null;
      }
code_tokens: protected function getCurrentPid ( ) { if ( $ this -> currentPid ) { return $ this -> currentPid ; } $ path = $ this -> getPidPath ( ) ; return $ this -> currentPid = file_exists ( $ path ) ? ( int ) file_get_contents ( $ path ) ?? $ this -> removePidFile ( ) : null ; }
docstring: Get pid.
  
  @return int|null
docstring_tokens: Get pid .