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 namespace fecshop\app\apphtml5\modules\Cms\block\widgets; use fecshop\interfaces\b..

Decoded Output download

<?php

namespace fecshoppppphtml5\modules\Cmslock\widgets;

use fecshop\interfaceslock\BlockCache;
use Yii;

class Menu implements BlockCache
{
    public function getLastData()
    {
        $categoryArr = Yii::$service->page->menu->getMenuData();
        //var_dump($categoryArr);
        return [
            'categoryArr' => $categoryArr,
        ];
    }

    public function getCacheKey()
    {
        $lang = Yii::$service->store->currentLanguage;

        return self::BLOCK_CACHE_PREFIX.'_'.$lang;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace fecshop\app\apphtml5\modules\Cms\block\widgets;

use fecshop\interfaces\block\BlockCache;
use Yii;

class Menu implements BlockCache
{
    public function getLastData()
    {
        $categoryArr = Yii::$service->page->menu->getMenuData();
        //var_dump($categoryArr);
        return [
            'categoryArr' => $categoryArr,
        ];
    }

    public function getCacheKey()
    {
        $lang = Yii::$service->store->currentLanguage;

        return self::BLOCK_CACHE_PREFIX.'_'.$lang;
    }
}

Function Calls

None

Variables

None

Stats

MD5 4142789bef55d90fd75163120d5d6aa2
Eval Count 0
Decode Time 87 ms