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.
*/
declare(strict_types=1);
namespace Magento\AsynchronousOperations\Api\Data;
/**
* ItemStatusInterface interface
* Temporary object with status of requested item.
* Indicate if entity param was Accepted|Rejected to bulk schedule
*
* @api
* @since 100.2.3
*/
interface ItemStatusInterface
{
const ENTITY_ID = 'entity_id';
const DATA_HASH = 'data_hash';
const STATUS = 'status';
const ERROR_MESSAGE = 'error_message';
const ERROR_CODE = 'error_code';
const STATUS_ACCEPTED = 'accepted';
const STATUS_REJECTED = 'rejected';
/**
* Get entity Id.
*
* @return int
* @since 100.2.3
*/
public function getId();
/**
* Sets entity Id.
*
* @param int $entityId
* @return $this
* @since 100.2.3
*/
public function setId($entityId);
/**
* Get hash of entity data.
*
* @return string md5 hash of entity params array.
* @since 100.2.3
*/
public function getDataHash();
/**
* Sets hash of entity data.
*
* @param string $hash md5 hash of entity params array.
* @return $this
* @since 100.2.3
*/
public function setDataHash($hash);
/**
* Get status.
*
* @return string accepted|rejected
* @since 100.2.3
*/
public function getStatus();
/**
* Sets entity status.
*
* @param string $status accepted|rejected
* @return $this
* @since 100.2.3
*/
public function setStatus($status = self::STATUS_ACCEPTED);
/**
* Get error information.
*
* @return string|null
* @since 100.2.3
*/
public function getErrorMessage();
/**
* Sets error information.
*
* @param string|null|\Exception $error
* @return $this
* @since 100.2.3
*/
public function setErrorMessage($error = null);
/**
* Get error code.
*
* @return int|null
* @since 100.2.3
*/
public function getErrorCode();
/**
* Sets error information.
*
* @param int|null|\Exception $errorCode Default: null
* @return $this
* @since 100.2.3
*/
public function setErrorCode($errorCode = null);
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\AsynchronousOperations\Api\Data;
/**
* ItemStatusInterface interface
* Temporary object with status of requested item.
* Indicate if entity param was Accepted|Rejected to bulk schedule
*
* @api
* @since 100.2.3
*/
interface ItemStatusInterface
{
const ENTITY_ID = 'entity_id';
const DATA_HASH = 'data_hash';
const STATUS = 'status';
const ERROR_MESSAGE = 'error_message';
const ERROR_CODE = 'error_code';
const STATUS_ACCEPTED = 'accepted';
const STATUS_REJECTED = 'rejected';
/**
* Get entity Id.
*
* @return int
* @since 100.2.3
*/
public function getId();
/**
* Sets entity Id.
*
* @param int $entityId
* @return $this
* @since 100.2.3
*/
public function setId($entityId);
/**
* Get hash of entity data.
*
* @return string md5 hash of entity params array.
* @since 100.2.3
*/
public function getDataHash();
/**
* Sets hash of entity data.
*
* @param string $hash md5 hash of entity params array.
* @return $this
* @since 100.2.3
*/
public function setDataHash($hash);
/**
* Get status.
*
* @return string accepted|rejected
* @since 100.2.3
*/
public function getStatus();
/**
* Sets entity status.
*
* @param string $status accepted|rejected
* @return $this
* @since 100.2.3
*/
public function setStatus($status = self::STATUS_ACCEPTED);
/**
* Get error information.
*
* @return string|null
* @since 100.2.3
*/
public function getErrorMessage();
/**
* Sets error information.
*
* @param string|null|\Exception $error
* @return $this
* @since 100.2.3
*/
public function setErrorMessage($error = null);
/**
* Get error code.
*
* @return int|null
* @since 100.2.3
*/
public function getErrorCode();
/**
* Sets error information.
*
* @param int|null|\Exception $errorCode Default: null
* @return $this
* @since 100.2.3
*/
public function setErrorCode($errorCode = null);
}
Function Calls
None |
Stats
MD5 | 69c352fbe9b18870f227e45f78675bde |
Eval Count | 0 |
Decode Time | 130 ms |