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 Asm\AkeneoImport\Setup; use Magento\Eav\Setup\EavSetupFactory; use Magent..

Decoded Output download

<?php 
namespace Asm\AkeneoImport\Setup; use Magento\Eav\Setup\EavSetupFactory; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\ModuleDataSetupInterface; use Magento\Framework\Setup\ModuleContextInterface; class InstallData implements InstallDataInterface { private $eavSetupFactory; public function __construct(EavSetupFactory $sp3ca889) { $this->eavSetupFactory = $sp3ca889; } public function install(ModuleDataSetupInterface $sp173823, ModuleContextInterface $sp3a56ff) { $sp173823->startSetup(); $sp18167a = $this->eavSetupFactory->create(array('setup' => $sp173823)); $sp18167a->addAttribute(\Magento\Catalog\Model\Category::ENTITY, 'asm_akeneoimport_akeneo_id', array('type' => 'varchar', 'label' => 'Akeneo Category ID', 'input' => 'text', 'required' => false, 'sort_order' => 4, 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, 'group' => 'General Information', 'is_used_in_grid' => true, 'is_visible_in_grid' => false, 'is_filterable_in_grid' => true, 'user_defined' => true)); $sp173823->endSetup(); } } ?>

Did this file decode correctly?

Original Code

<?php
namespace Asm\AkeneoImport\Setup; use Magento\Eav\Setup\EavSetupFactory; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\ModuleDataSetupInterface; use Magento\Framework\Setup\ModuleContextInterface; class InstallData implements InstallDataInterface { private $eavSetupFactory; public function __construct(EavSetupFactory $sp3ca889) { $this->eavSetupFactory = $sp3ca889; } public function install(ModuleDataSetupInterface $sp173823, ModuleContextInterface $sp3a56ff) { $sp173823->startSetup(); $sp18167a = $this->eavSetupFactory->create(array('setup' => $sp173823)); $sp18167a->addAttribute(\Magento\Catalog\Model\Category::ENTITY, 'asm_akeneoimport_akeneo_id', array('type' => 'varchar', 'label' => 'Akeneo Category ID', 'input' => 'text', 'required' => false, 'sort_order' => 4, 'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL, 'group' => 'General Information', 'is_used_in_grid' => true, 'is_visible_in_grid' => false, 'is_filterable_in_grid' => true, 'user_defined' => true)); $sp173823->endSetup(); } }

Function Calls

None

Variables

None

Stats

MD5 cb39641d94c3ed90de0234c062725300
Eval Count 0
Decode Time 173 ms