Category
Table of Contents
Methods
-
create()
: Category
-
delete()
: Category
-
getError()
: Error|null
-
getId()
: int
-
getName()
: string
-
getRooms()
: array<string|int, mixed>|null
-
setId()
: Category
-
setName()
: Category
-
setRooms()
: $this
-
update()
: Category
create()
public
create() : Category
delete()
public
delete() : Category
getError()
public
getError() : Error|null
getId()
public
getId() : int
getName()
public
getName() : string
getRooms()
public
getRooms() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
setId()
public
setId(int|null $id) : Category
Parameters
-
$id
: int|null
-
setName()
public
setName(string|null $name) : Category
Parameters
-
$name
: string|null
-
setRooms()
public
setRooms(array<string|int, mixed>|null $rooms) : $this
Parameters
-
$rooms
: array<string|int, mixed>|null
-
update()
public
update() : Category