public function getMessages( $domain = 'default', $locale = null )
	{
		if( $locale === null ) {
			$locale = $this->getLocale();
		}

		if( !isset( $this->messages[$domain][$locale] ) ) {
			$this->loadMessages( $domain, $locale );
		}

		return $this->messages[$domain][$locale];
	}
public function getMessages( $domain = 'default', $locale = null )
	{
		if( $locale === null ) {
			$locale = $this->getLocale();
		}

		if( !isset( $this->messages[$domain][$locale] ) ) {
			$this->loadMessages( $domain, $locale );
		}

		return $this->messages[$domain][$locale];
	}
Returns all message strings and translations.

@param string $domain Translation domain
@param string $locale $locale ISO language name, like "en" or "en_US"
@return Zend\I18n\Translator\TextDomain Array like TextDomain object