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.
*/
namespace Magento\Catalog\Api;
/**
* @api
* @since 100.0.2
*/
interface CategoryLinkManagementInterface
{
/**
* Get products assigned to category
*
* @param int $categoryId
* @return \Magento\Catalog\Api\Data\CategoryProductLinkInterface[]
*/
public function getAssignedProducts($categoryId);
/**
* Assign product to given categories
*
* @param string $productSku
* @param int[] $categoryIds
* @return bool
* @since 101.0.0
*/
public function assignProductToCategories($productSku, array $categoryIds);
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* Copyright Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Catalog\Api;
/**
* @api
* @since 100.0.2
*/
interface CategoryLinkManagementInterface
{
/**
* Get products assigned to category
*
* @param int $categoryId
* @return \Magento\Catalog\Api\Data\CategoryProductLinkInterface[]
*/
public function getAssignedProducts($categoryId);
/**
* Assign product to given categories
*
* @param string $productSku
* @param int[] $categoryIds
* @return bool
* @since 101.0.0
*/
public function assignProductToCategories($productSku, array $categoryIds);
}
Function Calls
| None |
Stats
| MD5 | 949d525b55254dfa808fd9b832ec9d0e |
| Eval Count | 0 |
| Decode Time | 110 ms |