PinnedArticleListParser
in package
implements
ParserInterface
Class PinnedArticleListParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- NewsListParser constructor.
- getHasNextPage() : bool
- getLastVisiblePage() : int
- getModel() : PinnedArticleList
- Return the model
- getResults() : array<string|int, mixed>
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
NewsListParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getHasNextPage()
public
getHasNextPage() : bool
Return values
boolgetLastVisiblePage()
public
getLastVisiblePage() : int
Return values
intgetModel()
Return the model
public
getModel() : PinnedArticleList
Return values
PinnedArticleListgetResults()
public
getResults() : array<string|int, mixed>