FriendParser
in package
implements
ParserInterface
Class FriendParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- FriendParser constructor.
- getAvatar() : string
- getFriendsSince() : DateTimeImmutable|null
- getLastOnline() : DateTimeImmutable
- getModel() : Friend
- Return the model
- getName() : string
- getUrl() : string
- getUserMeta() : UserMeta
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
FriendParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getAvatar()
public
getAvatar() : string
Tags
Return values
stringgetFriendsSince()
public
getFriendsSince() : DateTimeImmutable|null
Tags
Return values
DateTimeImmutable|nullgetLastOnline()
public
getLastOnline() : DateTimeImmutable
Tags
Return values
DateTimeImmutablegetModel()
Return the model
public
getModel() : Friend
Tags
Return values
FriendgetName()
public
getName() : string
Tags
Return values
stringgetUrl()
public
getUrl() : string
Tags
Return values
stringgetUserMeta()
public
getUserMeta() : UserMeta