| Current Path : /home/rtorresani/www/vendor/magento/framework/View/Layout/Generator/ |
| Current File : //home/rtorresani/www/vendor/magento/framework/View/Layout/Generator/Context.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\View\Layout\Generator;
use Magento\Framework\View\Layout;
use Magento\Framework\View\LayoutInterface;
/**
* @api
* @since 100.0.2
*/
class Context
{
/**
* @var Layout\Data\Structure
*/
protected $structure;
/**
* @var LayoutInterface
*/
protected $layout;
/**
* Constructor
*
* @param Layout\Data\Structure $structure
* @param LayoutInterface $layout
*/
public function __construct(
Layout\Data\Structure $structure,
LayoutInterface $layout
) {
$this->structure = $structure;
$this->layout = $layout;
}
/**
* @return \Magento\Framework\View\Layout\Data\Structure
*/
public function getStructure()
{
return $this->structure;
}
/**
* @return LayoutInterface
*/
public function getLayout()
{
return $this->layout;
}
}