ShareDto
implements
Arrayable
Table of Contents
Interfaces
- Arrayable
Methods
-
__construct()
: mixed
-
getCode()
: string
-
getImg()
: string|null
-
getName()
: string
-
toArray()
: array<string|int, mixed>
__construct()
public
__construct(string $name, string $code[, string|null $img = null ]) : mixed
Parameters
-
$name
: string
-
-
$code
: string
-
-
$img
: string|null
= null
-
getCode()
public
getCode() : string
getImg()
public
getImg() : string|null
Return values
string|null
getName()
public
getName() : string
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>