src/Language.php
public function getCulture($culture = null): ?array
    {
        return $this->getCultures()[$culture] ?? (! empty($this->getCultures()) ? current($this->getCultures()) : null);
    }
public function getCulture($culture = null): ?array
    {
        return $this->getCultures()[$culture] ?? (! empty($this->getCultures()) ? current($this->getCultures()) : null);
    }
public function getCulture ( $ culture = null ) : ? array { return $ this -> getCultures ( ) [ $ culture ] ?? ( ! empty ( $ this -> getCultures ( ) ) ? current ( $ this -> getCultures ( ) ) : null ) ; }
Get the given culture.

@param string|null $culture

@return array|null
Get the given culture .