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

Public Member Functions

 __construct (\ClassA $exA, \ClassB $exB, \ClassC $exC, \FirstInterface $interfaceA, \ImplementationOfSecondInterface $implOfBInterface)
 

Protected Attributes

 $_exA
 
 $_exB
 
 $_exC
 
 $_interfaceA
 
 $_implOfBInterface
 

Detailed Description

Definition at line 33 of file ClassesForConstructorIntegrity.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( \ClassA  $exA,
\ClassB  $exB,
\ClassC  $exC,
\FirstInterface  $interfaceA,
\ImplementationOfSecondInterface  $implOfBInterface 
)

Context constructor.

Parameters
ClassA$exA
ClassB$exB
ClassC$exC
FirstInterface$interfaceA
ImplementationOfSecondInterface$implOfBInterface

Definition at line 68 of file ClassesForConstructorIntegrity.php.

74  {
75  $this->_exA = $exA;
76  $this->_exB = $exB;
77  $this->_exC = $exC;
78  $this->_interfaceA = $interfaceA;
79  $this->_implOfBInterface = $implOfBInterface;
80  }

Field Documentation

◆ $_exA

$_exA
protected

Definition at line 38 of file ClassesForConstructorIntegrity.php.

◆ $_exB

$_exB
protected

Definition at line 43 of file ClassesForConstructorIntegrity.php.

◆ $_exC

$_exC
protected

Definition at line 48 of file ClassesForConstructorIntegrity.php.

◆ $_implOfBInterface

$_implOfBInterface
protected

Definition at line 58 of file ClassesForConstructorIntegrity.php.

◆ $_interfaceA

$_interfaceA
protected

Definition at line 53 of file ClassesForConstructorIntegrity.php.


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