AppserverIo\Appserver\ServletEngine\Session\FilesystemSessionHandler::getSessionSavePath PHP Метод

getSessionSavePath() защищенный Метод

Returns the default path to persist sessions.
protected getSessionSavePath ( string $toAppend = null ) : string
$toAppend string A relative path to append to the session save path
Результат string The default path to persist session
    protected function getSessionSavePath($toAppend = null)
    {
        // load the default path
        $sessionSavePath = $this->getSessionSettings()->getSessionSavePath();
        // check if we've something to append
        if ($toAppend != null) {
            $sessionSavePath = $sessionSavePath . DIRECTORY_SEPARATOR . $toAppend;
        }
        // return the session save path
        return $sessionSavePath;
    }