Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SourceClass.php
Go to the documentation of this file.
1 <?php
7 
8 use Zend\Code\Generator\ClassGenerator;
9 
10 class SourceClass extends ParentClass
11 {
23  public function __construct(
24  ClassGenerator $classGenerator,
25  $param1 = '',
26  $param2 = '\\',
27  $param3 = '\'',
28  $param4 = null
29  ) {
30  }
31 
45  public function publicChildMethod(
46  ClassGenerator $classGenerator,
47  $param1 = '',
48  $param2 = '\\',
49  $param3 = '\'',
50  array $array = [],
51  $param5 = null
52  ) {
53  }
54 
63  public function publicMethodWithReference(ClassGenerator &$classGenerator, array &$array)
64  {
65  }
66 
77  protected function _protectedChildMethod(
78  ClassGenerator $classGenerator,
79  $param1 = '',
80  $param2 = '\\',
81  $param3 = '\''
82  ) {
83  }
84 
98  private function _privateChildMethod(
99  ClassGenerator $classGenerator,
100  $param1 = '',
101  $param2 = '\\',
102  $param3 = '\'',
103  array $array = []
104  ) {
105  }
106 
108  {
109  }
110 
111  public static function publicChildStatic()
112  {
113  }
114 
118  final public function publicChildFinal()
119  {
120  }
121 }
publicMethodWithReference(ClassGenerator &$classGenerator, array &$array)
Definition: SourceClass.php:63
__construct(ClassGenerator $classGenerator, $param1='', $param2='\\', $param3='\'', $param4=null)
Definition: SourceClass.php:23
publicChildMethod(ClassGenerator $classGenerator, $param1='', $param2='\\', $param3='\'', array $array=[], $param5=null)
Definition: SourceClass.php:45
_protectedChildMethod(ClassGenerator $classGenerator, $param1='', $param2='\\', $param3='\'')
Definition: SourceClass.php:77