original_string: public function key()
      {
          if ( ! $this->isTranslated()) {
              return $this->key;
          }
  
          $parts = explode('.', $this->key);
  
          array_splice($parts, $this->localeIndex, 0, $this->getLocalePlaceholder());
  
          return trim(implode('.', $parts), '.');
      }
code: public function key()
      {
          if ( ! $this->isTranslated()) {
              return $this->key;
          }
  
          $parts = explode('.', $this->key);
  
          array_splice($parts, $this->localeIndex, 0, $this->getLocalePlaceholder());
  
          return trim(implode('.', $parts), '.');
      }
code_tokens: public function key ( ) { if ( ! $ this -> isTranslated ( ) ) { return $ this -> key ; } $ parts = explode ( '.' , $ this -> key ) ; array_splice ( $ parts , $ this -> localeIndex , 0 , $ this -> getLocalePlaceholder ( ) ) ; return trim ( implode ( '.' , $ parts ) , '.' ) ; }
docstring: Returns the key in dot notation, with locale placeholder where relevant.
  
  @return string|null
docstring_tokens: Returns the key in dot notation with locale placeholder where relevant .