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

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

Tries to load the session data from the passed filename.
protected unpersist ( string $pathname ) : AppserverIo\Psr\Servlet\Http\HttpSessionInterface
$pathname string The path of the file to load the session data from
Результат AppserverIo\Psr\Servlet\Http\HttpSessionInterface The unmarshalled session
    protected function unpersist($pathname)
    {
        // the requested session file is not a valid file
        if ($this->sessionFileExists($pathname) === false) {
            return;
        }
        // decode the session from the filesystem
        if (($marshalled = file_get_contents($pathname)) === false) {
            throw new SessionDataNotReadableException(sprintf('Can\'t load session data from file %s', $pathname));
        }
        // create a new session instance from the marshaled object representation
        return $this->unmarshall($marshalled);
    }