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\AdminAnalytics\Model\Viewer;

use Magento\Framework\DataObject;

/**
 * Admin Analytics log resource
 */
class Log extends DataObject
{
    /**
     * Get log id
     *
     * @return int
     */
    public function getId() : ?int
    {
        return $this->getData('id');
    }

    /**
     * Get last viewed product version
     *
     * @return string
     */
    public function getLastViewVersion() : ?string
    {
        return $this->getData('last_viewed_in_version');
    }
}
 ?>

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\AdminAnalytics\Model\Viewer;

use Magento\Framework\DataObject;

/**
 * Admin Analytics log resource
 */
class Log extends DataObject
{
    /**
     * Get log id
     *
     * @return int
     */
    public function getId() : ?int
    {
        return $this->getData('id');
    }

    /**
     * Get last viewed product version
     *
     * @return string
     */
    public function getLastViewVersion() : ?string
    {
        return $this->getData('last_viewed_in_version');
    }
}

Function Calls

None

Variables

None

Stats

MD5 956a10e5c26be3f18913c62461a1c1e4
Eval Count 0
Decode Time 97 ms