Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * Copyright Magento, Inc. All rights reserved. * See COPYING.txt for license ..
Decoded Output download
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Backend\Block\Page;
/**
* Require Js block
*
* @api
* @since 100.0.2
*/
class RequireJs extends \Magento\Framework\View\Element\Template
{
/**
* @var \Magento\Framework\Data\Form\FormKey
*/
protected $formKey;
/**
* @param \Magento\Framework\View\Element\Template\Context $context
* @param \Magento\Framework\Data\Form\FormKey $formKey
* @param array $data
*/
public function __construct(
\Magento\Framework\View\Element\Template\Context $context,
\Magento\Framework\Data\Form\FormKey $formKey,
array $data = []
) {
parent::__construct(
$context,
$data
);
$this->formKey = $formKey;
}
/**
* Retrieve Session Form Key
*
* @return string
*/
public function getFormKey()
{
return $this->formKey->getFormKey();
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Backend\Block\Page;
/**
* Require Js block
*
* @api
* @since 100.0.2
*/
class RequireJs extends \Magento\Framework\View\Element\Template
{
/**
* @var \Magento\Framework\Data\Form\FormKey
*/
protected $formKey;
/**
* @param \Magento\Framework\View\Element\Template\Context $context
* @param \Magento\Framework\Data\Form\FormKey $formKey
* @param array $data
*/
public function __construct(
\Magento\Framework\View\Element\Template\Context $context,
\Magento\Framework\Data\Form\FormKey $formKey,
array $data = []
) {
parent::__construct(
$context,
$data
);
$this->formKey = $formKey;
}
/**
* Retrieve Session Form Key
*
* @return string
*/
public function getFormKey()
{
return $this->formKey->getFormKey();
}
}
Function Calls
None |
Stats
MD5 | a66966d9eccd3c4a30f4846daa3d977b |
Eval Count | 0 |
Decode Time | 87 ms |