Documentation

Categorie
in package

Categorie

Tags
ORM\Table

(name="categorie")

ORM\Entity

Table of Contents

$attr  : mixed
$composants  : mixed
$details  : mixed
$icone  : mixed
$id  : int
$libelle  : string
$order  : mixed
$reference  : string
__construct()  : mixed
__toString()  : mixed
addComposant()  : self
addDetail()  : self
getComposants()  : Collection
getComposantsOrderBy()  : mixed
getDetails()  : Collection
getIcone()  : string|null
getId()  : int|null
getLibelle()  : string|null
getReference()  : string|null
prixStock()  : mixed
removeComposant()  : self
removeDetail()  : self
resetStock()  : mixed
setIcone()  : self
setLibelle()  : self
setReference()  : self
sumQuantiteCompo()  : mixed

Properties

$composants

private mixed $composants
Tags
ORM\OneToMany

(targetEntity=Composant::class, mappedBy="categorie",cascade={"persist","remove"})

$details

private mixed $details
Tags
ORM\OneToMany

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

$icone

private mixed $icone
Tags
ORM\Column

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

$id

private int $id
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$libelle

private string $libelle
Tags
ORM\Column

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

$reference

private string $reference
Tags
ORM\Column

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

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

getComposants()

public getComposants() : Collection
Return values
Collection

getComposantsOrderBy()

public getComposantsOrderBy(mixed $attr, mixed $order) : mixed
Parameters
$attr : mixed
$order : mixed
Return values
mixed

getDetails()

public getDetails() : Collection
Return values
Collection

getIcone()

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

getId()

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

getLibelle()

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

getReference()

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

prixStock()

public prixStock() : mixed
Return values
mixed

resetStock()

public resetStock() : mixed
Return values
mixed

setIcone()

public setIcone(string|null $icone) : self
Parameters
$icone : string|null
Return values
self

setLibelle()

public setLibelle(string $libelle) : self
Parameters
$libelle : string
Return values
self

setReference()

public setReference(string $reference) : self
Parameters
$reference : string
Return values
self

sumQuantiteCompo()

public sumQuantiteCompo() : mixed
Return values
mixed

Search results