Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Two.php
Go to the documentation of this file.
1 <?php
7 
11 class Two
12 {
16  private $one;
17 
21  private $baz;
22 
27  public function __construct(OneScalar $one, $baz = 'optional')
28  {
29  $this->one = $one;
30  $this->baz = $baz;
31  }
32 
36  public function getOne()
37  {
38  return $this->one;
39  }
40 
44  public function getBaz()
45  {
46  return $this->baz;
47  }
48 }
__construct(OneScalar $one, $baz='optional')
Definition: Two.php:27