Documentation

Tag

Tags
ORM\Entity
ORM\Table

(name="tag")

Table of Contents

$id  : int
$title  : string
__construct()  : mixed
getId()  : int
Returns tag id
getTitle()  : string
Returns tag title
setTitle()  : self
Sets tag title

Properties

$id

protected int $id
Tags
ORM\Id
ORM\Column

(type="integer")

ORM\GeneratedValue

$title

protected string $title
Tags
ORM\Column

(type="string", unique=true, length=191)

Methods

__construct()

public __construct([string $title = "" ]) : mixed
Parameters
$title : string = ""
Return values
mixed

getId()

Returns tag id

public getId() : int
Return values
int

getTitle()

Returns tag title

public getTitle() : string
Return values
string

setTitle()

Sets tag title

public setTitle(string $title) : self
Parameters
$title : string
Return values
self

Search results