PHP Класс App\Repositories\Backend\History\EloquentHistoryRepository

Наследование: implements App\Repositories\Backend\History\HistoryContract
Показать файл Открыть проект

Открытые методы

Метод Описание
buildList ( $history, boolean $paginate = true ) : string
buildPagination ( $query, $limit, $paginate, $pagination ) : mixed
log ( $type, $text, null $entity_id = null, null $icon = null, null $class = null, null $assets = null ) : boolean | static
render ( null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
renderDescription ( $text, boolean $assets = false ) : mixed | string
renderEntity ( $type, $entity_id, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
renderType ( $type, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface

Приватные методы

Метод Описание
checkType ( $query, $type ) : mixed

Описание методов

buildList() публичный метод

public buildList ( $history, boolean $paginate = true ) : string
$history
$paginate boolean
Результат string

buildPagination() публичный метод

public buildPagination ( $query, $limit, $paginate, $pagination ) : mixed
$query
$limit
$paginate
$pagination
Результат mixed

log() публичный метод

public log ( $type, $text, null $entity_id = null, null $icon = null, null $class = null, null $assets = null ) : boolean | static
$type
$text
$entity_id null
$icon null
$class null
$assets null
Результат boolean | static

render() публичный метод

public render ( null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
$limit null
$paginate boolean
$pagination integer
Результат string | Symfony\Component\Translation\TranslatorInterface

renderDescription() публичный метод

public renderDescription ( $text, boolean $assets = false ) : mixed | string
$text
$assets boolean
Результат mixed | string

renderEntity() публичный метод

public renderEntity ( $type, $entity_id, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
$type
$entity_id
$limit null
$paginate boolean
$pagination integer
Результат string | Symfony\Component\Translation\TranslatorInterface

renderType() публичный метод

public renderType ( $type, null $limit = null, boolean $paginate = true, integer $pagination = 10 ) : string | Symfony\Component\Translation\TranslatorInterface
$type
$limit null
$paginate boolean
$pagination integer
Результат string | Symfony\Component\Translation\TranslatorInterface