Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
WithOptional.php
Go to the documentation of this file.
1 <?php
7 
9 {
10  public $parent;
11 
12  public $child;
13 
19  public function __construct(\Magento\Test\Di\DiParent $parent = null, \Magento\Test\Di\Child $child = null)
20  {
21  $this->parent = $parent;
22  $this->child = $child;
23  }
24 }
__construct(\Magento\Test\Di\DiParent $parent=null, \Magento\Test\Di\Child $child=null)