MagazineParser
in package
implements
ParserInterface
Class MagazineParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- MagazineParser constructor.
- getHasNextPage() : bool
- getLastPage() : int
- getModel() : Magazine
- Return the model
- getResults() : array<string|int, mixed>|array<string|int, MagazineManga>
- getUrl() : MalUrl
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
MagazineParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getHasNextPage()
public
getHasNextPage() : bool
Return values
boolgetLastPage()
public
getLastPage() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : Magazine
Tags
Return values
MagazinegetResults()
public
getResults() : array<string|int, mixed>|array<string|int, MagazineManga>
Tags
Return values
array<string|int, mixed>|array<string|int, MagazineManga>getUrl()
public
getUrl() : MalUrl