BookContributor
Table of Contents
Properties
-
$contents
: mixed
-
$role
: string|null
Methods
-
__construct()
: mixed
-
__toString()
: string
-
getContents()
: string|null
-
getRole()
: string|null
-
toArray()
: array<string|int, mixed>
$contents
protected
mixed
$contents
= null
$role
protected
string|null
$role
= null
__construct()
public
__construct([mixed $contents = null ][, string|null $role = null ]) : mixed
Parameters
-
$contents
: mixed
= null
-
-
$role
: string|null
= null
-
__toString()
public
__toString() : string
getContents()
public
getContents() : string|null
Return values
string|null
getRole()
public
getRole() : string|null
Return values
string|null
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>