Skip to content

Commit 35253bd

Browse files
committed
updated faq module filess
0 parents  commit 35253bd

File tree

231 files changed

+33030
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+33030
-0
lines changed

Api/CategoriesInterface.php

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php
2+
3+
4+
namespace Lof\Faq\Api;
5+
6+
use Lof\Faq\Api\Data\CategoryInterface;
7+
use Magento\Framework\Exception\LocalizedException;
8+
9+
/**
10+
* Interface CategoriesInterface
11+
* @package Lof\Faq\Api
12+
*/
13+
interface CategoriesInterface
14+
{
15+
/**
16+
* Get categories
17+
* @return \Lof\Faq\Api\Data\CategorySearchResultsInterface
18+
* @throws LocalizedException
19+
*/
20+
public function getListInBackend();
21+
22+
/**
23+
* Get categories
24+
* @return \Lof\Faq\Api\Data\CategorySearchResultsInterface
25+
* @throws LocalizedException
26+
*/
27+
public function getListInFrontend();
28+
29+
30+
/**
31+
* @param CategoryInterface $category
32+
* @return mixed
33+
*/
34+
public function save(CategoryInterface $category);
35+
36+
/**
37+
* @param int $categoryId
38+
* @return CategoryInterface
39+
*/
40+
public function getById($categoryId);
41+
42+
}

0 commit comments

Comments
 (0)