Categorie
in package
Categorie
Tags
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
$attr
private
mixed
$attr
$composants
private
mixed
$composants
Tags
$details
private
mixed
$details
Tags
$icone
private
mixed
$icone
Tags
$id
private
int
$id
Tags
$libelle
private
string
$libelle
Tags
$order
private
mixed
$order
$reference
private
string
$reference
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —addComposant()
public
addComposant(Composant $composant) : self
Parameters
- $composant : Composant
Return values
self —addDetail()
public
addDetail(Details $detail) : self
Parameters
- $detail : Details
Return values
self —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 —removeComposant()
public
removeComposant(Composant $composant) : self
Parameters
- $composant : Composant
Return values
self —removeDetail()
public
removeDetail(Details $detail) : self
Parameters
- $detail : Details
Return values
self —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