Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
UserConfig Class Reference
Inheritance diagram for UserConfig:
AppInterface

Public Member Functions

 __construct (Factory $configFactory, Response $response, array $request)
 
 launch ()
 
 catchException (Bootstrap $bootstrap, \Exception $exception)
 
- Public Member Functions inherited from AppInterface
 catchException (App\Bootstrap $bootstrap, \Exception $exception)
 

Additional Inherited Members

- Data Fields inherited from AppInterface
const DISTRO_LOCALE_CODE = 'en_US'
 

Detailed Description

@api

Since
100.0.2

Definition at line 19 of file UserConfig.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( Factory  $configFactory,
Response  $response,
array  $request 
)

Constructor

Parameters
Factory$configFactory
Response$response
array$request

Definition at line 49 of file UserConfig.php.

53  {
54  $this->response = $response;
55  $this->request = $request;
56  $this->configFactory = $configFactory;
57  }

Member Function Documentation

◆ catchException()

catchException ( Bootstrap  $bootstrap,
\Exception  $exception 
)

{}

Definition at line 88 of file UserConfig.php.

89  {
90  return false;
91  }

◆ launch()

launch ( )

Run application

Returns
\Magento\Framework\App\ResponseInterface

Implements AppInterface.

Definition at line 64 of file UserConfig.php.

65  {
66  $this->response->terminateOnSend(false);
67  $this->updateUserConfigData();
68  return $this->response;
69  }

The documentation for this class was generated from the following file: