TicketType
in package
Tags
Table of Contents
- $id : mixed
- $tickets : mixed
- $type : mixed
- __construct() : mixed
- __toString() : string
- addTicket() : self
- getId() : int|null
- getTickets() : Collection<int, Ticket>
- getType() : string|null
- removeTicket() : self
- setType() : self
Properties
$id
private
mixed
$id
Tags
$tickets
private
mixed
$tickets
Tags
$type
private
mixed
$type
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —__toString()
public
__toString() : string
Return values
string —addTicket()
public
addTicket(Ticket $ticket) : self
Parameters
- $ticket : Ticket
Return values
self —getId()
public
getId() : int|null
Return values
int|null —getTickets()
public
getTickets() : Collection<int, Ticket>
Return values
Collection<int, Ticket> —getType()
public
getType() : string|null
Return values
string|null —removeTicket()
public
removeTicket(Ticket $ticket) : self
Parameters
- $ticket : Ticket
Return values
self —setType()
public
setType(string $type) : self
Parameters
- $type : string