original_string: public function setXFrameOptions($option = 'deny')
      {
  
          if ($option === 'deny' || $option === 'sameorigin') {
              $this->xFrameOptions = $option;
          }
          if ($option == 'allow') {
              $this->xFrameOptions = null;
          }
      }
code: public function setXFrameOptions($option = 'deny')
      {
  
          if ($option === 'deny' || $option === 'sameorigin') {
              $this->xFrameOptions = $option;
          }
          if ($option == 'allow') {
              $this->xFrameOptions = null;
          }
      }
code_tokens: public function setXFrameOptions ( $ option = 'deny' ) { if ( $ option === 'deny' || $ option === 'sameorigin' ) { $ this -> xFrameOptions = $ option ; } if ( $ option == 'allow' ) { $ this -> xFrameOptions = null ; } }
docstring: Set X-Frame-Options field in the HTTP response. The header is set just
  before rendering.
  
  _Note: setting this allows you to make sure the View **cannot** be
  embedded in iframes. Learn more [here](https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options)._
  
  @param string $option ('deny' or 'sameorigin')
docstring_tokens: Set X - Frame - Options field in the HTTP response . The header is set just before rendering .