Profile
in package
Class Profile
Table of Contents
Properties
- $about : string|null
- $animeStats : AnimeStats
- $birthday : DateTimeImmutable|null
- $externalLinks : array<string|int, Url>
- $favorites : Favorites
- $gender : string|null
- $images : UserImageResource
- $joined : DateTimeImmutable|null
- $lastOnline : DateTimeImmutable|null
- $lastUpdates : LastUpdates
- $location : string|null
- $malId : int|null
- $mangaStats : MangaStats
- $url : string
- $username : string
Methods
- fromParser() : Profile
- getAbout() : string|null
- getAnimeStats() : AnimeStats
- getBirthday() : DateTimeImmutable|null
- getExternalLinks() : array<string|int, Url>
- getFavorites() : Favorites
- getGender() : string|null
- getImages() : UserImageResource
- getJoined() : DateTimeImmutable|null
- getLastOnline() : DateTimeImmutable|null
- getLastUpdates() : LastUpdates
- getLocation() : string
- getMalId() : int|null
- getMangaStats() : MangaStats
- getUrl() : string
- getUsername() : string
Properties
$about
private
string|null
$about
$animeStats
private
AnimeStats
$animeStats
$birthday
private
DateTimeImmutable|null
$birthday
$externalLinks
private
array<string|int, Url>
$externalLinks
= []
$favorites
private
Favorites
$favorites
$gender
private
string|null
$gender
$images
private
UserImageResource
$images
$joined
private
DateTimeImmutable|null
$joined
$lastOnline
private
DateTimeImmutable|null
$lastOnline
$lastUpdates
private
LastUpdates
$lastUpdates
$location
private
string|null
$location
$malId
private
int|null
$malId
$mangaStats
private
MangaStats
$mangaStats
$url
private
string
$url
$username
private
string
$username
Methods
fromParser()
public
static fromParser(UserProfileParser $parser) : Profile
Parameters
- $parser : UserProfileParser
Tags
Return values
ProfilegetAbout()
public
getAbout() : string|null
Return values
string|nullgetAnimeStats()
public
getAnimeStats() : AnimeStats
Return values
AnimeStatsgetBirthday()
public
getBirthday() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetExternalLinks()
public
getExternalLinks() : array<string|int, Url>
Return values
array<string|int, Url>getFavorites()
public
getFavorites() : Favorites
Return values
FavoritesgetGender()
public
getGender() : string|null
Return values
string|nullgetImages()
public
getImages() : UserImageResource
Return values
UserImageResourcegetJoined()
public
getJoined() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetLastOnline()
public
getLastOnline() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetLastUpdates()
public
getLastUpdates() : LastUpdates
Return values
LastUpdatesgetLocation()
public
getLocation() : string
Return values
stringgetMalId()
public
getMalId() : int|null
Return values
int|nullgetMangaStats()
public
getMangaStats() : MangaStats
Return values
MangaStatsgetUrl()
public
getUrl() : string
Return values
stringgetUsername()
public
getUsername() : string