Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • AbstractProxyTest
  • ConcreteProxy
  • ConcreteSessionHandlerInterfaceProxy
  • NativeProxyTest
  • SessionHandlerProxyTest
  • Overview
  • Namespace
  • Class
  • Tree

Class ConcreteSessionHandlerInterfaceProxy

AbstractProxy.

Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy
Extended by Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy\ConcreteSessionHandlerInterfaceProxy implements SessionHandlerInterface
Namespace: Symfony\Component\HttpFoundation\Tests\Session\Storage\Proxy
Author: Drak drak@zikula.org
Located at Tests/Session/Storage/Proxy/AbstractProxyTest.php
Methods summary
public boolean
# open( string $savePath, string $sessionName )

Re-initializes existing session, or creates a new one.

Re-initializes existing session, or creates a new one.

Parameters

$savePath
Save path
$sessionName
Session name, see http://php.net/function.session-name.php

Returns

boolean
true on success, false on failure

See

http://php.net/sessionhandlerinterface.open

Implementation of

SessionHandlerInterface::open()
public boolean
# close( )

Closes the current session.

Closes the current session.

Returns

boolean
true on success, false on failure

See

http://php.net/sessionhandlerinterface.close

Implementation of

SessionHandlerInterface::close()
public string
# read( string $id )

Reads the session data.

Reads the session data.

Parameters

$id
$sessionId Session ID, see http://php.net/function.session-id

Returns

string
Same session data as passed in write() or empty string when non-existent or on failure

See

http://php.net/sessionhandlerinterface.read

Implementation of

SessionHandlerInterface::read()
public boolean
# write( string $id, string $data )

Writes the session data to the storage.

Writes the session data to the storage.

Care, the session ID passed to write() can be different from the one previously received in read() when the session ID changed due to session_regenerate_id().

Parameters

$id
$sessionId Session ID , see http://php.net/function.session-id
$data
Serialized session data to save

Returns

boolean
true on success, false on failure

See

http://php.net/sessionhandlerinterface.write

Implementation of

SessionHandlerInterface::write()
public boolean
# destroy( string $id )

Destroys a session.

Destroys a session.

Parameters

$id
$sessionId Session ID, see http://php.net/function.session-id

Returns

boolean
true on success, false on failure

See

http://php.net/sessionhandlerinterface.destroy

Implementation of

SessionHandlerInterface::destroy()
public boolean
# gc( string|integer $maxlifetime )

Cleans up expired sessions (garbage collection).

Cleans up expired sessions (garbage collection).

Parameters

$maxlifetime
Sessions that have not updated for the last maxlifetime seconds will be removed

Returns

boolean
true on success, false on failure

See

http://php.net/sessionhandlerinterface.gc

Implementation of

SessionHandlerInterface::gc()
Methods inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy
getId(), getName(), getSaveHandlerName(), isActive(), isSessionHandlerInterface(), isWrapper(), setId(), setName()
Properties inherited from Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy
$active, $saveHandlerName, $wrapper
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen