Trait SessionConnectionConfigTrait
Direct Known Users
Indirect Known Users
Methods Summary
-
initConfig ( array $config = [] )
It initialize the Config class and it sets values in case of valid configurations.
- getTableName ( )
- setTableName ( string $tableName )
- getHashKey ( )
- setHashKey ( string $hashKey )
- getDataAttribute ( )
- setDataAttribute ( string $dataAttribute )
- getDataAttributeType ( )
- setDataAttributeType ( string $dataAttributeType )
- getSessionLifetime ( )
- setSessionLifetime ( number $sessionLifetime )
- getSessionLifetimeAttribute ( )
- setSessionLifetimeAttribute ( string $sessionLifetimeAttribute )
- isConsistentRead ( )
- setConsistentRead ( boolean $consistentRead )
- getBatchConfig ( )
- setBatchConfig ( mixed $batchConfig )
- isLocking ( )
- setLocking ( boolean $locking )
- getMaxLockWaitTime ( )
- setMaxLockWaitTime ( number $maxLockWaitTime )
- getMinLockRetryMicrotime ( )
- setMinLockRetryMicrotime ( number $minLockRetryMicrotime )
- getMaxLockRetryMicrotime ( )
- setMaxLockRetryMicrotime ( number $maxLockRetryMicrotime )
Methods Details
initConfig ( array $config = [] )
It initialize the Config class and it sets values in case of valid configurations.
It transforms parameters underscore separated in camelcase "this_is_a_test" => ThisIsATest and it uses it in order to set the values.
Parameters
array | $config = [] |
string getTableName ( )
Returns
string |
setTableName ( string $tableName )
Parameters
string | $tableName |
string getHashKey ( )
Returns
string |
setHashKey ( string $hashKey )
Parameters
string | $hashKey |
string getDataAttribute ( )
Returns
string |
setDataAttribute ( string $dataAttribute )
Parameters
string | $dataAttribute |
string getDataAttributeType ( )
Returns
string |
setDataAttributeType ( string $dataAttributeType )
Parameters
string | $dataAttributeType |
number getSessionLifetime ( )
Returns
number |
setSessionLifetime ( number $sessionLifetime )
Parameters
number | $sessionLifetime |
string getSessionLifetimeAttribute ( )
Returns
string |
setSessionLifetimeAttribute ( string $sessionLifetimeAttribute )
Parameters
string | $sessionLifetimeAttribute |
boolean isConsistentRead ( )
Returns
boolean |
setConsistentRead ( boolean $consistentRead )
Parameters
boolean | $consistentRead |
mixed getBatchConfig ( )
Returns
mixed |
setBatchConfig ( mixed $batchConfig )
Parameters
mixed | $batchConfig |
boolean isLocking ( )
Returns
boolean |
setLocking ( boolean $locking )
Parameters
boolean | $locking |
number getMaxLockWaitTime ( )
Returns
number |
setMaxLockWaitTime ( number $maxLockWaitTime )
Parameters
number | $maxLockWaitTime |
number getMinLockRetryMicrotime ( )
Returns
number |
setMinLockRetryMicrotime ( number $minLockRetryMicrotime )
Parameters
number | $minLockRetryMicrotime |
number getMaxLockRetryMicrotime ( )
Returns
number |
setMaxLockRetryMicrotime ( number $maxLockRetryMicrotime )
Parameters
number | $maxLockRetryMicrotime |