BConnect POS - Reference PHP

ConfigService
in package

Configuration service Handles application configuration retrieval for the current point of sale

Table of Contents

Properties

$entityManager  : EntityManagerInterface
$security  : Security

Methods

__construct()  : mixed
Constructor
getConfig()  : ConfigApp
Get configuration for the current user's point of sale

Properties

$entityManager read-only

private EntityManagerInterface $entityManager

Methods

__construct()

Constructor

public __construct(EntityManagerInterface $entityManager, Security $security) : mixed
Parameters
$entityManager : EntityManagerInterface

Doctrine entity manager

$security : Security

Symfony security component

getConfig()

Get configuration for the current user's point of sale

public getConfig() : ConfigApp
Return values
ConfigApp

The configuration entity for the current point of sale

On this page

Search results