common/base/MessageSource.php
public function getMessage( $key, $params = [], $language = null ) {

		// Retrieve Message
		$message = $this->messageDb[ $key ];

		// Return formatted message
		return $this->formatter->format( $message, $params, $language );
	}
public function getMessage( $key, $params = [], $language = null ) {

		// Retrieve Message
		$message = $this->messageDb[ $key ];

		// Return formatted message
		return $this->formatter->format( $message, $params, $language );
	}
public function getMessage ( $ key , $ params = [ ] , $ language = null ) { // Retrieve Message $ message = $ this -> messageDb [ $ key ] ; // Return formatted message return $ this -> formatter -> format ( $ message , $ params , $ language ) ; }
Find the message corresponding to given message key and returns the formatted
message using the message parameters and language.

@param string $key
@param array $params
@param string $language
@return string
Find the message corresponding to given message key and returns the formatted message using the message parameters and language .