SessionController
extends ControllerBase
in package
Keyword Controller class.
Table of Contents
Properties
- $dateFormatter : DateFormatterInterface
- The date formatter service.
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
Methods
- __construct() : mixed
- Constructor.
- attributeEventDayToSessionCode() : mixed
- Concatenate event day to session code.
- create() : mixed
- Create container.
Properties
$dateFormatter
The date formatter service.
protected
DateFormatterInterface
$dateFormatter
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
Methods
__construct()
Constructor.
public
__construct(EntityTypeManagerInterface $entity_type_manager, DateFormatterInterface $dateFormatter) : mixed
Parameters
- $entity_type_manager : EntityTypeManagerInterface
- $dateFormatter : DateFormatterInterface
attributeEventDayToSessionCode()
Concatenate event day to session code.
public
attributeEventDayToSessionCode() : mixed
create()
Create container.
public
static create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface