template = $template; } /** * Applies the inputs to the message template and returns the result. * * @param array $args The inputs to this message * * @return string The rendered including all the interpolated inputs */ public abstract function format(array $args); /** * Get the string template this message uses for translation. * * @return string */ public function __toString() { return $this->template; } }