original_string: public function gmdate($attribute, $params, $validator)
      {
          if (isset($this->$attribute)) {
              $timestamp = strtotime($this->$attribute);
              $this->{$attribute . 'InUtc'} = gmdate('Y-m-d H:i:s', $timestamp);
          }
      }
code: public function gmdate($attribute, $params, $validator)
      {
          if (isset($this->$attribute)) {
              $timestamp = strtotime($this->$attribute);
              $this->{$attribute . 'InUtc'} = gmdate('Y-m-d H:i:s', $timestamp);
          }
      }
code_tokens: public function gmdate ( $ attribute , $ params , $ validator ) { if ( isset ( $ this -> $ attribute ) ) { $ timestamp = strtotime ( $ this -> $ attribute ) ; $ this -> { $ attribute . 'InUtc' } = gmdate ( 'Y-m-d H:i:s' , $ timestamp ) ; } }
docstring: Convert time attribute to UTC time.
  @param string $attribute
  @param array $params
  @param mixed $validator
docstring_tokens: Convert time attribute to UTC time .