original_string: protected function getDefaultPattern()
      {
          $patternParts = [];
          if (self::NONE !== $this->datetype) {
              $patternParts[] = $this->defaultDateFormats[$this->datetype];
          }
          if (self::NONE !== $this->timetype) {
              $patternParts[] = $this->defaultTimeFormats[$this->timetype];
          }
  
          return implode(', ', $patternParts);
      }
code: protected function getDefaultPattern()
      {
          $patternParts = [];
          if (self::NONE !== $this->datetype) {
              $patternParts[] = $this->defaultDateFormats[$this->datetype];
          }
          if (self::NONE !== $this->timetype) {
              $patternParts[] = $this->defaultTimeFormats[$this->timetype];
          }
  
          return implode(', ', $patternParts);
      }
code_tokens: protected function getDefaultPattern ( ) { $ patternParts = [ ] ; if ( self :: NONE !== $ this -> datetype ) { $ patternParts [ ] = $ this -> defaultDateFormats [ $ this -> datetype ] ; } if ( self :: NONE !== $ this -> timetype ) { $ patternParts [ ] = $ this -> defaultTimeFormats [ $ this -> timetype ] ; } return implode ( ', ' , $ patternParts ) ; }
docstring: Returns a pattern string based in the datetype and timetype values.
  
  @return string
docstring_tokens: Returns a pattern string based in the datetype and timetype values .