PrivateBin\I18n::_getPath PHP Méthode

_getPath() protected static méthode

get language file path
protected static _getPath ( string $file = '' ) : string
$file string
Résultat string
    protected static function _getPath($file = '')
    {
        if (strlen(self::$_path) == 0) {
            self::$_path = PUBLIC_PATH . DIRECTORY_SEPARATOR . 'i18n';
        }
        return self::$_path . (strlen($file) ? DIRECTORY_SEPARATOR . $file : '');
    }