Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
ClassArgumentWithOptionalParams Class Reference
Inheritance diagram for ClassArgumentWithOptionalParams:
ClassArgumentWithWrongParentArgumentsType

Public Member Functions

 __construct (\Context $context, array $data=[])
 

Protected Attributes

 $_context
 
 $_data
 

Detailed Description

Definition at line 134 of file ClassesForConstructorIntegrity.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( \Context  $context,
array  $data = [] 
)
Parameters
Context$context
array$data

Definition at line 150 of file ClassesForConstructorIntegrity.php.

151  {
152  $this->_context = $context;
153  $this->_data = $data;
154  }

Field Documentation

◆ $_context

$_context
protected

Definition at line 139 of file ClassesForConstructorIntegrity.php.

◆ $_data

$_data
protected

Definition at line 144 of file ClassesForConstructorIntegrity.php.


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