Contao\Session::getSessionBagKey PHP Method

getSessionBagKey() private method

Gets the correct session bag key depending on the Contao environment
private getSessionBagKey ( ) : string
return string
    private function getSessionBagKey()
    {
        switch (TL_MODE) {
            case 'BE':
                return 'contao_backend';
            case 'FE':
                return 'contao_frontend';
            default:
                return 'attributes';
        }
    }