/
home
/
techb158
/
immovalet.com
/
platform
/
plugins
/
blog
/
src
/
Repositories
/
Interfaces
/
/home/techb158/immovalet.com/platform/plugins/blog/src/Repositories/Interfaces
mkdir
upload
Name
Size
Mode
Actions
CategoryInterface.php
1507
0644
edit
dl
rm
PostInterface.php
2178
0644
edit
dl
rm
TagInterface.php
595
0644
edit
dl
rm
Edit:
/home/techb158/immovalet.com/platform/plugins/blog/src/Repositories/Interfaces/PostInterface.php
(2178B)
<?php namespace Botble\Blog\Repositories\Interfaces; use Botble\Support\Repositories\Interfaces\RepositoryInterface; use Eloquent; interface PostInterface extends RepositoryInterface { /** * @param int $limit * @param array $with * @return mixed */ public function getFeatured(int $limit = 5, array $with = []); /** * @param array $filters * @return mixed */ public function getFilters(array $filters); /** * @param array $selected * @param int $limit * @param array $with * @return mixed */ public function getListPostNonInList(array $selected = [], $limit = 7, array $with = []); /** * @param int|array $categoryId * @param int $paginate * @param int $limit * @return mixed */ public function getByCategory($categoryId, $paginate = 12, $limit = 0); /** * @param int $authorId * @param int $limit * @return mixed */ public function getByUserId($authorId, $limit = 6); /** * @return mixed */ public function getDataSiteMap(); /** * @param int $tag * @param int $paginate * @return mixed */ public function getByTag($tag, $paginate = 12); /** * @param int $id * @param int $limit * @return mixed */ public function getRelated($id, $limit = 3); /** * @param int $limit * @param int $categoryId * @return mixed */ public function getRecentPosts($limit = 5, $categoryId = 0); /** * @param string $query * @param int $limit * @param int $paginate * @return mixed */ public function getSearch($query, $limit = 10, $paginate = 10); /** * @param int $perPage * @param bool $active * @return mixed */ public function getAllPosts($perPage = 12, $active = true, array $with = ['slugable']); /** * @param int $limit * @param array $args * @return mixed */ public function getPopularPosts($limit, array $args = []); /** * @param Eloquent|int $model * @return array */ public function getRelatedCategoryIds($model); }
Save