original_string: public function setEntry($language, $entryId, $entryValue)
      {
          $language   = (string)$language;
          $entryId    = (string)$entryId;
          $entryValue = (string)$entryValue;
          if (!isset($this->entries[$language]) && $entryValue) {
              $this->entries[$language] = array();
          }
          if ($entryValue) {
              $this->entries[$language][$entryId] = $entryValue;
          } else {
              if (isset($this->entries[$language][$entryId])) {
                  unset($this->entries[$language][$entryId]);
              }
          }
          return $this;
      }
code: public function setEntry($language, $entryId, $entryValue)
      {
          $language   = (string)$language;
          $entryId    = (string)$entryId;
          $entryValue = (string)$entryValue;
          if (!isset($this->entries[$language]) && $entryValue) {
              $this->entries[$language] = array();
          }
          if ($entryValue) {
              $this->entries[$language][$entryId] = $entryValue;
          } else {
              if (isset($this->entries[$language][$entryId])) {
                  unset($this->entries[$language][$entryId]);
              }
          }
          return $this;
      }
code_tokens: public function setEntry ( $ language , $ entryId , $ entryValue ) { $ language = ( string ) $ language ; $ entryId = ( string ) $ entryId ; $ entryValue = ( string ) $ entryValue ; if ( ! isset ( $ this -> entries [ $ language ] ) && $ entryValue ) { $ this -> entries [ $ language ] = array ( ) ; } if ( $ entryValue ) { $ this -> entries [ $ language ] [ $ entryId ] = $ entryValue ; } else { if ( isset ( $ this -> entries [ $ language ] [ $ entryId ] ) ) { unset ( $ this -> entries [ $ language ] [ $ entryId ] ) ; } } return $ this ; }
docstring: Set the translatable entry for the specific language
  
  @api
  @param string $language   Language id
  @param string $entryId    Entry id
  @param string $entryValue Translated entry value
  @return static
docstring_tokens: Set the translatable entry for the specific language