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\CatalogInventory\Block\Stockqty\Type;
use Magento\Catalog\Model\Product;
/**
* Product stock qty block for grouped product type
*/
class Grouped extends \Magento\CatalogInventory\Block\Stockqty\Composite
{
/**
* Retrieve child products
*
* @return Product[]
*/
protected function _getChildProducts()
{
return $this->getProduct()->getTypeInstance()->getAssociatedProducts($this->getProduct());
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogInventory\Block\Stockqty\Type;
use Magento\Catalog\Model\Product;
/**
* Product stock qty block for grouped product type
*/
class Grouped extends \Magento\CatalogInventory\Block\Stockqty\Composite
{
/**
* Retrieve child products
*
* @return Product[]
*/
protected function _getChildProducts()
{
return $this->getProduct()->getTypeInstance()->getAssociatedProducts($this->getProduct());
}
}
Function Calls
None |
Stats
MD5 | e361ea51a797eeeee3cc63c1b2084198 |
Eval Count | 0 |
Decode Time | 83 ms |