src/Helpers/TranslationCollection.php
public function get($language)
    {
        $result = array();
        if (isset($this->{$language})) {
            $result = $this->{$language};
        }
        if ($language !== 'nl' && isset($this->nl)) {
            $result += $this->nl;
        }
        return $result;
    }
public function get($language)
    {
        $result = array();
        if (isset($this->{$language})) {
            $result = $this->{$language};
        }
        if ($language !== 'nl' && isset($this->nl)) {
            $result += $this->nl;
        }
        return $result;
    }
public function get ( $ language ) { $ result = array ( ) ; if ( isset ( $ this -> { $ language } ) ) { $ result = $ this -> { $ language } ; } if ( $ language !== 'nl' && isset ( $ this -> nl ) ) { $ result += $ this -> nl ; } return $ result ; }
Returns a set of translations for the given language, completed with Dutch
translations if no translation for the given language for some key was
defined.

@param string $language

@return array
A keyed array with translations.
Returns a set of translations for the given language completed with Dutch translations if no translation for the given language for some key was defined .