translationReplacements = $replacements; } /** * Render the current translation. * * @return string */ public function renderTranslation() { return $this->container->make('translator')->getFromJson( trim(ob_get_clean()), $this->translationReplacements ); } }