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 licen..
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 CategoryRepositoryInterface
{
/**
* Create category service
*
* @param \Magento\Catalog\Api\Data\CategoryInterface $category
* @return \Magento\Catalog\Api\Data\CategoryInterface
* @throws \Magento\Framework\Exception\CouldNotSaveException
*/
public function save(\Magento\Catalog\Api\Data\CategoryInterface $category);
/**
* Get info about category by category id
*
* @param int $categoryId
* @param int $storeId
* @return \Magento\Catalog\Api\Data\CategoryInterface
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function get($categoryId, $storeId = null);
/**
* Delete category by identifier
*
* @param \Magento\Catalog\Api\Data\CategoryInterface $category category which will deleted
* @return bool Will returned True if deleted
* @throws \Magento\Framework\Exception\InputException
* @throws \Magento\Framework\Exception\StateException
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function delete(\Magento\Catalog\Api\Data\CategoryInterface $category);
/**
* Delete category by identifier
*
* @param int $categoryId
* @return bool Will returned True if deleted
* @throws \Magento\Framework\Exception\InputException
* @throws \Magento\Framework\Exception\StateException
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function deleteByIdentifier($categoryId);
}
?>
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 CategoryRepositoryInterface
{
/**
* Create category service
*
* @param \Magento\Catalog\Api\Data\CategoryInterface $category
* @return \Magento\Catalog\Api\Data\CategoryInterface
* @throws \Magento\Framework\Exception\CouldNotSaveException
*/
public function save(\Magento\Catalog\Api\Data\CategoryInterface $category);
/**
* Get info about category by category id
*
* @param int $categoryId
* @param int $storeId
* @return \Magento\Catalog\Api\Data\CategoryInterface
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function get($categoryId, $storeId = null);
/**
* Delete category by identifier
*
* @param \Magento\Catalog\Api\Data\CategoryInterface $category category which will deleted
* @return bool Will returned True if deleted
* @throws \Magento\Framework\Exception\InputException
* @throws \Magento\Framework\Exception\StateException
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function delete(\Magento\Catalog\Api\Data\CategoryInterface $category);
/**
* Delete category by identifier
*
* @param int $categoryId
* @return bool Will returned True if deleted
* @throws \Magento\Framework\Exception\InputException
* @throws \Magento\Framework\Exception\StateException
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function deleteByIdentifier($categoryId);
}
Function Calls
None |
Stats
MD5 | b8b457c9a26073d1c116540714c81c4c |
Eval Count | 0 |
Decode Time | 94 ms |