Session
in package
Session class contains helpers functions.
Table of Contents
Properties
- $configFactory : ConfigFactory
- Configuration Factory.
- $database : Connection
- The database connection.
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
Methods
- __construct() : mixed
- Session helper Constructor.
- getAcceptedSessions() : mixed
- Return accepted sessions.
- getMergedLeadSessions() : mixed
- Return merged lead sessions.
Properties
$configFactory
Configuration Factory.
protected
ConfigFactory
$configFactory
$database
The database connection.
protected
Connection
$database
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
Methods
__construct()
Session helper Constructor.
public
__construct(Connection $database, EntityTypeManagerInterface $entity_type_manager, ConfigFactory $configFactory) : mixed
Parameters
- $database : Connection
- $entity_type_manager : EntityTypeManagerInterface
- $configFactory : ConfigFactory
getAcceptedSessions()
Return accepted sessions.
public
getAcceptedSessions([mixed $uid = NULL ]) : mixed
Parameters
- $uid : mixed = NULL
getMergedLeadSessions()
Return merged lead sessions.
public
getMergedLeadSessions([mixed $uid = NULL ]) : mixed
Parameters
- $uid : mixed = NULL