Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
A.php
Go to the documentation of this file.
1 <?php
7 
8 class A
9 {
13  protected $_wrapperSym;
14 
18  public function __construct($wrapperSym = 'A')
19  {
20  $this->_wrapperSym = $wrapperSym;
21  }
22 
27  public function wrapBefore($param)
28  {
29  return $this->_wrapperSym . $param . $this->_wrapperSym;
30  }
31 
36  public function wrapAfter($returnValue)
37  {
38  return '_' . $this->_wrapperSym . '_' . $returnValue . '_' . $this->_wrapperSym . '_';
39  }
40 }
__construct($wrapperSym='A')
Definition: A.php:18