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 licen..
Decoded Output download
<?php
/**
*
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Controller\Adminhtml\Product;
class Categories extends \Magento\Catalog\Controller\Adminhtml\Product
{
/**
* @var \Magento\Framework\View\Result\PageFactory
*/
protected $resultPageFactory;
/**
* @param \Magento\Backend\App\Action\Context $context
* @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder
* @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
*/
public function __construct(
\Magento\Backend\App\Action\Context $context,
\Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder,
\Magento\Framework\View\Result\PageFactory $resultPageFactory
) {
parent::__construct($context, $productBuilder);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Get categories fieldset block
*
* @return \Magento\Backend\Model\View\Result\Page
*/
public function execute()
{
$this->productBuilder->build($this->getRequest());
return $this->resultPageFactory->create();
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
*
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Controller\Adminhtml\Product;
class Categories extends \Magento\Catalog\Controller\Adminhtml\Product
{
/**
* @var \Magento\Framework\View\Result\PageFactory
*/
protected $resultPageFactory;
/**
* @param \Magento\Backend\App\Action\Context $context
* @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder
* @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
*/
public function __construct(
\Magento\Backend\App\Action\Context $context,
\Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder,
\Magento\Framework\View\Result\PageFactory $resultPageFactory
) {
parent::__construct($context, $productBuilder);
$this->resultPageFactory = $resultPageFactory;
}
/**
* Get categories fieldset block
*
* @return \Magento\Backend\Model\View\Result\Page
*/
public function execute()
{
$this->productBuilder->build($this->getRequest());
return $this->resultPageFactory->create();
}
}
Function Calls
None |
Stats
MD5 | baf413aa52cc2f08001155bbeea52dc0 |
Eval Count | 0 |
Decode Time | 93 ms |