Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Protected Attributes
DiParent Class Reference
Inheritance diagram for DiParent:
DiInterface Child A Circular Interceptor

Public Member Functions

 __construct ($wrapperSymbol='|')
 
 wrap ($param)
 

Protected Attributes

 $_wrapperSymbol
 

Detailed Description

Definition at line 9 of file DiParent.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $wrapperSymbol = '|')
Parameters
string$wrapperSymbol

Definition at line 19 of file DiParent.php.

20  {
21  $this->_wrapperSymbol = $wrapperSymbol;
22  }

Member Function Documentation

◆ wrap()

wrap (   $param)
Parameters
string$param
Returns
mixed

Implements DiInterface.

Definition at line 28 of file DiParent.php.

29  {
30  return $this->_wrapperSymbol . $param . $this->_wrapperSymbol;
31  }

Field Documentation

◆ $_wrapperSymbol

$_wrapperSymbol
protected

Definition at line 14 of file DiParent.php.


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