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 2023 Adobe * All Rights Reserved. */ declare(strict_types=1); na..

Decoded Output download

<?php
/**
 * Copyright 2023 Adobe
 * All Rights Reserved.
 */
declare(strict_types=1);

namespace Magento\Catalog\Api;

/**
 * Intended to allow setting 'is_filterable' property for specific attribute as integer value via REST/SOAP API
 *
 * @api
 */
interface ProductAttributeIsFilterableManagementInterface
{
    /**
     * Retrieve 'is_filterable' property for specific attribute as integer
     *
     * @param string $attributeCode
     * @return int
     * @throws \Magento\Framework\Exception\NoSuchEntityException
     */
    public function get(string $attributeCode): int;

    /**
     * Set 'is_filterable' property for specific attribute as integer
     *
     * @param string $attributeCode
     * @param int $isFilterable
     * @return bool
     * @throws \Magento\Framework\Exception\NoSuchEntityException
     * @throws \Magento\Framework\Exception\InputException
     * @throws \Magento\Framework\Exception\StateException
     */
    public function set(string $attributeCode, int $isFilterable): bool;
}
 ?>

Did this file decode correctly?

Original Code

<?php
/**
 * Copyright 2023 Adobe
 * All Rights Reserved.
 */
declare(strict_types=1);

namespace Magento\Catalog\Api;

/**
 * Intended to allow setting 'is_filterable' property for specific attribute as integer value via REST/SOAP API
 *
 * @api
 */
interface ProductAttributeIsFilterableManagementInterface
{
    /**
     * Retrieve 'is_filterable' property for specific attribute as integer
     *
     * @param string $attributeCode
     * @return int
     * @throws \Magento\Framework\Exception\NoSuchEntityException
     */
    public function get(string $attributeCode): int;

    /**
     * Set 'is_filterable' property for specific attribute as integer
     *
     * @param string $attributeCode
     * @param int $isFilterable
     * @return bool
     * @throws \Magento\Framework\Exception\NoSuchEntityException
     * @throws \Magento\Framework\Exception\InputException
     * @throws \Magento\Framework\Exception\StateException
     */
    public function set(string $attributeCode, int $isFilterable): bool;
}

Function Calls

None

Variables

None

Stats

MD5 4547d0fe714ffb1c6caabf3c2e9bbcd6
Eval Count 0
Decode Time 106 ms