260. Class

260.1. Zend\Session\Config\SessionConfig

Session configuration proxying to session INI options

260.1.1. Methods

260.1.1.1. setStorageOption

setStorageOption()

Set storage option in backend configuration store

Parameters:
  • string
  • mixed
Return type:

SessionConfig

Throws :

InvalidArgumentException

260.1.1.2. getStorageOption

getStorageOption()

Retrieve a storage option from a backend configuration store

Used to retrieve default values from a backend configuration store.

Parameters:string
Return type:mixed

260.1.1.3. setPhpSaveHandler

setPhpSaveHandler()

Set session.save_handler

Parameters:string
Return type:SessionConfig
Throws :ExceptionInvalidArgumentException

260.1.1.4. setSavePath

setSavePath()

Set session.save_path

Parameters:string
Return type:SessionConfig
Throws :ExceptionInvalidArgumentException on invalid path

260.1.1.5. setSerializeHandler

setSerializeHandler()

Set session.serialize_handler

Parameters:string
Return type:SessionConfig
Throws :ExceptionInvalidArgumentException

260.1.1.6. setCacheLimiter

setCacheLimiter()

Set cache limiter

Parameters:$cacheLimiter
Return type:SessionConfig
Throws :ExceptionInvalidArgumentException

260.1.1.7. setHashFunction

setHashFunction()

Set session.hash_function

Parameters:string|int
Return type:SessionConfig
Throws :ExceptionInvalidArgumentException

260.1.1.8. setHashBitsPerCharacter

setHashBitsPerCharacter()

Set session.hash_bits_per_character

Parameters:int
Return type:SessionConfig
Throws :ExceptionInvalidArgumentException

260.1.1.9. getHashFunctions

getHashFunctions()

Retrieve list of valid hash functions

Return type:array

260.1.1.10. handleError

handleError()

Handle PHP errors

Parameters:
  • int
  • string
Return type:

void