Documentation

Service
in package

Service

Tags
ORM\Table

(name="service")

ORM\Entity

Table of Contents

$description  : string|null
$details  : Collection
$id  : int
$nom  : string
__construct()  : mixed
Constructor
addDetail()  : self
getDescription()  : string|null
getDetails()  : Collection|array<string|int, Details>
getId()  : int|null
getNom()  : string|null
removeDetail()  : self
setDescription()  : self
setNom()  : self

Properties

$description

private string|null $description
Tags
ORM\Column

(name="description", type="string", length=255, nullable=true)

$details

private Collection $details
Tags
ORM\ManyToMany

(targetEntity="Details", mappedBy="service")

$id

private int $id
Tags
ORM\Column

(name="id", type="integer", nullable=false)

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$nom

private string $nom
Tags
ORM\Column

(name="nom", type="string", length=255, nullable=false)

Methods

__construct()

Constructor

public __construct() : mixed
Return values
mixed

getDescription()

public getDescription() : string|null
Return values
string|null

getDetails()

public getDetails() : Collection|array<string|int, Details>
Return values
Collection|array<string|int, Details>

getId()

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

getNom()

public getNom() : string|null
Return values
string|null

removeDetail()

public removeDetail(Details $detail) : self
Parameters
$detail : Details
Return values
self

setDescription()

public setDescription(string|null $description) : self
Parameters
$description : string|null
Return values
self

setNom()

public setNom(string $nom) : self
Parameters
$nom : string
Return values
self

Search results