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\AsynchronousOperations\Model\ResourceModel\Operation;

use Magento\AsynchronousOperations\Model\Operation;
use Magento\AsynchronousOperations\Model\ResourceModel\Operation as OperationResourceModel;

/**
 * Class Collection for Magento Operation table
 * @codeCoverageIgnore
 */
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
    /**
     * Define collection item type and corresponding table
     *
     * @return void
     */
    protected function _construct()
    {
        $this->_init(
            Operation::class,
            OperationResourceModel::class
        );
        $this->setMainTable('magento_operation');
        $this->_setIdFieldName(OperationResourceModel::TABLE_PRIMARY_KEY);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

/**
 * Copyright  Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
namespace Magento\AsynchronousOperations\Model\ResourceModel\Operation;

use Magento\AsynchronousOperations\Model\Operation;
use Magento\AsynchronousOperations\Model\ResourceModel\Operation as OperationResourceModel;

/**
 * Class Collection for Magento Operation table
 * @codeCoverageIgnore
 */
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
    /**
     * Define collection item type and corresponding table
     *
     * @return void
     */
    protected function _construct()
    {
        $this->_init(
            Operation::class,
            OperationResourceModel::class
        );
        $this->setMainTable('magento_operation');
        $this->_setIdFieldName(OperationResourceModel::TABLE_PRIMARY_KEY);
    }
}

Function Calls

None

Variables

None

Stats

MD5 7caa84a8f1296357dd11c9802b060ffd
Eval Count 0
Decode Time 141 ms