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\Model\ResourceModel\Indexer\Stock;
class QueryProcessorComposite implements QueryProcessorInterface
{
/**
* @var array
*/
private $queryProcessors;
/**
* QueryProcessorPool constructor.
* @param QueryProcessorInterface[] $queryProcessors
*/
public function __construct(array $queryProcessors = [])
{
$this->queryProcessors = $queryProcessors;
}
/**
* @param \Magento\Framework\DB\Select $select
* @param null|array $entityIds
* @param bool $usePrimaryTable
* @return \Magento\Framework\DB\Select
*/
public function processQuery(\Magento\Framework\DB\Select $select, $entityIds = null, $usePrimaryTable = false)
{
foreach ($this->queryProcessors as $queryProcessor) {
$select = $queryProcessor->processQuery($select, $entityIds, $usePrimaryTable);
}
return $select;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogInventory\Model\ResourceModel\Indexer\Stock;
class QueryProcessorComposite implements QueryProcessorInterface
{
/**
* @var array
*/
private $queryProcessors;
/**
* QueryProcessorPool constructor.
* @param QueryProcessorInterface[] $queryProcessors
*/
public function __construct(array $queryProcessors = [])
{
$this->queryProcessors = $queryProcessors;
}
/**
* @param \Magento\Framework\DB\Select $select
* @param null|array $entityIds
* @param bool $usePrimaryTable
* @return \Magento\Framework\DB\Select
*/
public function processQuery(\Magento\Framework\DB\Select $select, $entityIds = null, $usePrimaryTable = false)
{
foreach ($this->queryProcessors as $queryProcessor) {
$select = $queryProcessor->processQuery($select, $entityIds, $usePrimaryTable);
}
return $select;
}
}
Function Calls
| None |
Stats
| MD5 | 59ea8825f3fd6340c9ba2282b8f86a4a |
| Eval Count | 0 |
| Decode Time | 96 ms |