SavedDetail
extends SavedItem
in package
Class SavedDetail.
Table of Contents
Properties
- $resource : Saved
- $resource : Saved
- $collectionId : int|null
Methods
- setCollectionId() : self
- toArray() : array<string, mixed>
- Transform the resource collection into an array.
- getCustomExtra() : array<string, bool>
- getStatistic() : array<string, mixed>
- listRepository() : SavedListRepositoryInterface
- handleTitle() : string
Properties
$resource
public
Saved
$resource
$resource
public
Saved
$resource
$collectionId
private
int|null
$collectionId
= null
Methods
setCollectionId()
public
setCollectionId(int|null $collectionId) : self
Parameters
- $collectionId : int|null
Return values
selftoArray()
Transform the resource collection into an array.
public
toArray(Request $request) : array<string, mixed>
Parameters
- $request : Request
Tags
Return values
array<string, mixed>getCustomExtra()
protected
getCustomExtra() : array<string, bool>
Tags
Return values
array<string, bool>getStatistic()
protected
getStatistic() : array<string, mixed>
Return values
array<string, mixed>listRepository()
protected
listRepository() : SavedListRepositoryInterface
Return values
SavedListRepositoryInterfacehandleTitle()
private
handleTitle(Content $item, string $title) : string
Parameters
- $item : Content
- $title : string