Documentation

TicketType
in package

Tags
ORM\Entity

(repositoryClass=TicketTypeRepository::class)

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
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$tickets

private mixed $tickets
Tags
ORM\OneToMany

(targetEntity=Ticket::class, mappedBy="type")

$type

private mixed $type
Tags
ORM\Column

(type="string", length=255)

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : string
Return values
string

getId()

public getId() : int|null
Return values
int|null

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
Return values
self

Search results