Documentation

ForumTopicParser
in package

Class ForumPostParser

Table of Contents

Properties

$crawler  : Crawler

Methods

__construct()  : mixed
ForumPostParser constructor.
getAuthorName()  : string
getAuthorUrl()  : string
getLastPost()  : ForumPost
getPostDate()  : DateTimeImmutable
getReplies()  : int
getTitle()  : string
getTopicId()  : int
getUrl()  : string

Properties

Methods

__construct()

ForumPostParser constructor.

public __construct(Crawler $crawler) : mixed
Parameters
$crawler : Crawler

getAuthorName()

public getAuthorName() : string
Tags
throws
InvalidArgumentException
Return values
string

getAuthorUrl()

public getAuthorUrl() : string
Tags
throws
InvalidArgumentException
Return values
string

getPostDate()

public getPostDate() : DateTimeImmutable
Tags
throws
InvalidArgumentException
Return values
DateTimeImmutable

getReplies()

public getReplies() : int
Tags
throws
InvalidArgumentException
Return values
int

getTitle()

public getTitle() : string
Tags
throws
InvalidArgumentException
Return values
string

getTopicId()

public getTopicId() : int
Tags
throws
InvalidArgumentException
Return values
int

getUrl()

public getUrl() : string
Tags
throws
InvalidArgumentException
Return values
string

        
On this page

Search results