original_string: public function elapsed(){
          if(isset($this->timeBegin) && isset($this->timeEnd)){
              return number_format($this->timeEnd - $this->timeBegin, 5);
          }
          else{
              if(! isset($this->timeBegin)){
                  echo "It is necesary execute the method 'start' first";
              }
              else{
                  echo "It is necesary execute the method 'terminate' before";
              }
          }
      }
code: public function elapsed(){
          if(isset($this->timeBegin) && isset($this->timeEnd)){
              return number_format($this->timeEnd - $this->timeBegin, 5);
          }
          else{
              if(! isset($this->timeBegin)){
                  echo "It is necesary execute the method 'start' first";
              }
              else{
                  echo "It is necesary execute the method 'terminate' before";
              }
          }
      }
code_tokens: public function elapsed ( ) { if ( isset ( $ this -> timeBegin ) && isset ( $ this -> timeEnd ) ) { return number_format ( $ this -> timeEnd - $ this -> timeBegin , 5 ) ; } else { if ( ! isset ( $ this -> timeBegin ) ) { echo "It is necesary execute the method 'start' first" ; } else { echo "It is necesary execute the method 'terminate' before" ; } } }
docstring: Calcula el tiempo consumido entre el inicio y fin del calculo
  @return float o NULL
docstring_tokens: Calcula el tiempo consumido entre el inicio y fin del calculo