FeedsInterface
in
Feeds Collection interface
Table of Contents
Methods
- fetch() : FeedCollection
- Fetch feed
- getBaseUrl() : string
- Get base url
- getItem() : mixed
- Get feed item
- getItems() : array<string|int, mixed>|null
- Return feed items array
- getItemsKey() : string|null
- Get items key
- getUrl() : string
- Get full url
Methods
fetch()
Fetch feed
public
fetch([int|null $page = null ][, int|null $perPage = null ]) : FeedCollection
Parameters
- $page : int|null = null
- $perPage : int|null = null
Return values
FeedCollectiongetBaseUrl()
Get base url
public
getBaseUrl() : string
Return values
stringgetItem()
Get feed item
public
getItem(int $index) : mixed
Parameters
- $index : int
getItems()
Return feed items array
public
getItems([bool $keyMaps = true ]) : array<string|int, mixed>|null
Parameters
- $keyMaps : bool = true
Return values
array<string|int, mixed>|nullgetItemsKey()
Get items key
public
getItemsKey() : string|null
Return values
string|nullgetUrl()
Get full url
public
getUrl() : string