/** * Sets a translation in this translator * @param string $key Key of the translation * @param string $translation Translation string * @return null */ public function setTranslation($key, $translation) { $this->io->setTranslation($this->locale, $key, $translation); }
/** * Sets a translation in this translator * @param string $key Key of the translation * @param string $translation Translation string * @return null */ public function setTranslation($key, $translation) { $this->io->setTranslation($this->locale->getCode(), $key, $translation); }