Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
XFrameOptions.php
Go to the documentation of this file.
1 <?php
7 
8 use \Magento\Framework\App\Response\Http;
9 
14 {
16  const DEPLOYMENT_CONFIG_X_FRAME_OPT = 'x-frame-options';
17 
19  const BACKEND_X_FRAME_OPT = 'SAMEORIGIN';
20 
27 
33  protected $headerValue;
34 
38  public function __construct($xFrameOpt = 'SAMEORIGIN')
39  {
40  $this->headerValue = $xFrameOpt;
41  }
42 }