getTag() public method

This method retrieves a tag as an array with language => string mappings.
public getTag ( string $tag ) : array
$tag string The tag name. The tag name can also be on the form '{:}', to retrieve a tag from the specific dictionary.
return array An associative array with language => string mappings, or null if the tag wasn't found.
Example #1
0
 /**
  * @param $tag
  *
  * @return array
  * @deprecated This method will be removed in SSP 2.0. Please use \SimpleSAML\Locale\Translate::getTag() instead.
  */
 public function getTag($tag)
 {
     return $this->translator->getTag($tag);
 }