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\Catalog\Model\Category\Attribute;
/**
* Product options management class
*/
class OptionManagement implements \Magento\Catalog\Api\CategoryAttributeOptionManagementInterface
{
/**
* @var \Magento\Eav\Api\AttributeOptionManagementInterface
*/
protected $eavOptionManagement;
/**
* @param \Magento\Eav\Api\AttributeOptionManagementInterface $eavOptionManagement
*/
public function __construct(
\Magento\Eav\Api\AttributeOptionManagementInterface $eavOptionManagement
) {
$this->eavOptionManagement = $eavOptionManagement;
}
/**
* {@inheritdoc}
* @codeCoverageIgnore
*/
public function getItems($attributeCode)
{
return $this->eavOptionManagement->getItems(
\Magento\Catalog\Api\Data\CategoryAttributeInterface::ENTITY_TYPE_CODE,
$attributeCode
);
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Model\Category\Attribute;
/**
* Product options management class
*/
class OptionManagement implements \Magento\Catalog\Api\CategoryAttributeOptionManagementInterface
{
/**
* @var \Magento\Eav\Api\AttributeOptionManagementInterface
*/
protected $eavOptionManagement;
/**
* @param \Magento\Eav\Api\AttributeOptionManagementInterface $eavOptionManagement
*/
public function __construct(
\Magento\Eav\Api\AttributeOptionManagementInterface $eavOptionManagement
) {
$this->eavOptionManagement = $eavOptionManagement;
}
/**
* {@inheritdoc}
* @codeCoverageIgnore
*/
public function getItems($attributeCode)
{
return $this->eavOptionManagement->getItems(
\Magento\Catalog\Api\Data\CategoryAttributeInterface::ENTITY_TYPE_CODE,
$attributeCode
);
}
}
Function Calls
None |
Stats
MD5 | d563ec46579cca036b34fac49ec9dd25 |
Eval Count | 0 |
Decode Time | 104 ms |