code: public function getAll( $domain )
  	{
  		$messages = [];
  		$locale = $this->getLocale();
  
  		foreach( $this->getTranslations( $domain ) as $object ) {
  			$messages = $messages + (array) $object->getMessages( $domain, $locale );
  		}
  
  		return $messages;
  	}
docs: Returns all locale string of the given domain.
  
  @param string $domain Translation domain
  @return array Associative list with original string as key and associative list with index => translation as value