original_string: public function cleanUp()
      {
          $this->status = self::STATUS_CLEANINGUP;
          if ($this->process->isRunning()) {
              $this->sendTERMSignal();
          } else {
              $this->status = self::STATUS_CLEANEDUP;
          }
  
      }
code: public function cleanUp()
      {
          $this->status = self::STATUS_CLEANINGUP;
          if ($this->process->isRunning()) {
              $this->sendTERMSignal();
          } else {
              $this->status = self::STATUS_CLEANEDUP;
          }
  
      }
code_tokens: public function cleanUp ( ) { $ this -> status = self :: STATUS_CLEANINGUP ; if ( $ this -> process -> isRunning ( ) ) { $ this -> sendTERMSignal ( ) ; } else { $ this -> status = self :: STATUS_CLEANEDUP ; } }
docstring: Cleans up a process
  
  @return void
docstring_tokens: Cleans up a process