Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Context.php
Go to the documentation of this file.
1 <?php
7 
10 
15 class Context
16 {
20  protected $structure;
21 
25  protected $layout;
26 
33  public function __construct(
36  ) {
37  $this->structure = $structure;
38  $this->layout = $layout;
39  }
40 
44  public function getStructure()
45  {
46  return $this->structure;
47  }
48 
52  public function getLayout()
53  {
54  return $this->layout;
55  }
56 }
__construct(Layout\Data\Structure $structure, LayoutInterface $layout)
Definition: Context.php:33