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\Model\Search\Config\Structure\Element\Builder;
use Magento\Backend\Model\Search\Config\Structure\ElementBuilderInterface;
use Magento\Config\Model\Config\StructureElementInterface;
class Field implements ElementBuilderInterface
{
/**
* @inheritdoc
*/
public function build(StructureElementInterface $structureElement)
{
$elementPathParts = explode('/', $structureElement->getPath());
return [
'section' => $elementPathParts[0],
'group' => $elementPathParts[1],
'field' => $structureElement->getId(),
];
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Backend\Model\Search\Config\Structure\Element\Builder;
use Magento\Backend\Model\Search\Config\Structure\ElementBuilderInterface;
use Magento\Config\Model\Config\StructureElementInterface;
class Field implements ElementBuilderInterface
{
/**
* @inheritdoc
*/
public function build(StructureElementInterface $structureElement)
{
$elementPathParts = explode('/', $structureElement->getPath());
return [
'section' => $elementPathParts[0],
'group' => $elementPathParts[1],
'field' => $structureElement->getId(),
];
}
}
Function Calls
None |
Stats
MD5 | 9c17595b63c1bf30d385d337c1cb7d8b |
Eval Count | 0 |
Decode Time | 81 ms |