Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SourceClassWithNamespace.php
Go to the documentation of this file.
1 <?php
7 
8 use Zend\Code\Generator\ClassGenerator;
9 
11 {
21  public function __construct($param1 = '', $param2 = '\\', $param3 = '\'')
22  {
23  }
24 
37  public function publicChildMethod(
38  ClassGenerator $classGenerator,
39  $param1 = '',
40  $param2 = '\\',
41  $param3 = '\'',
42  array $array = []
43  ) {
44  }
45 
55  public function publicMethodWithReference(ClassGenerator &$classGenerator, &$param1, array &$array)
56  {
57  }
58 
69  protected function _protectedChildMethod(
70  ClassGenerator $classGenerator,
71  $param1 = '',
72  $param2 = '\\',
73  $param3 = '\''
74  ) {
75  }
76 
90  private function _privateChildMethod(
91  ClassGenerator $classGenerator,
92  $param1 = '',
93  $param2 = '\\',
94  $param3 = '\'',
95  array $array = []
96  ) {
97  }
98 
99  public function publicChildWithoutParameters()
100  {
101  }
102 
103  public static function publicChildStatic()
104  {
105  }
106 
110  final public function publicChildFinal()
111  {
112  }
113 
124  public function public71(
125  $arg1,
126  string $arg2,
127  ?int $arg3,
128  ?int $arg4 = null
129  ): void {
130  }
131 
140  public function public71Another(?\DateTime $arg1, $arg2 = false): ?string
141  {
142  }
143 }
_protectedChildMethod(ClassGenerator $classGenerator, $param1='', $param2='\\', $param3='\'')
publicMethodWithReference(ClassGenerator &$classGenerator, &$param1, array &$array)
public71( $arg1, string $arg2, ?int $arg3, ?int $arg4=null)
publicChildMethod(ClassGenerator $classGenerator, $param1='', $param2='\\', $param3='\'', array $array=[])