User
extends Base
Table of Contents
Methods
-
__construct()
: mixed
-
createFromArray()
: self
-
current()
: self
-
getDetailUrl()
: string
-
getId()
: int
-
getImageUrl()
: string|null
-
getTitle()
: string
-
toArray()
: array<string|int, mixed>
__construct()
public
__construct(int $id, string $title, string $detailUrl[, string|null $imageUrl = null ]) : mixed
Parameters
-
$id
: int
-
-
$title
: string
-
-
$detailUrl
: string
-
-
$imageUrl
: string|null
= null
-
createFromArray()
public
static createFromArray(array<string|int, mixed> $user) : self
Parameters
-
$user
: array<string|int, mixed>
-
current()
public
static current() : self
getDetailUrl()
public
getDetailUrl() : string
getId()
public
getId() : int
getImageUrl()
public
getImageUrl() : string|null
Return values
string|null
getTitle()
public
getTitle() : string
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>