Documentation

Laptop
in package

Tags
ORM\Entity

(repositoryClass=LaptopRepository::class)

Table of Contents

$cpu  : Composant|null
$emplacement  : Emplacement|null
$fiche  : string|null
$fournisseur  : Fournisseur|Collection
$gpu  : Composant|null
$id  : int|null
$images  : mixed
$marque  : Marque|null
$modele  : string|null
$prix  : float|null
$ram  : Composant|null
$SKU  : string|null
$Specs  : string|null
$stockage  : Composant|Collection
$taille_ecran  : TailleEcran|null
__construct()  : mixed
__toString()  : mixed
addFournisseur()  : self
addImage()  : mixed
addStockage()  : self
getCpu()  : Composant|null
getEmplacement()  : Emplacement|null
getFiche()  : string|null
getFournisseur()  : Collection|array<string|int, Fournisseur>
getGpu()  : Composant|null
getHT()  : float
getId()  : int|null
getImages()  : array<string|int, mixed>|null
getISBN()  : string|null
getMarque()  : Marque|null
getModele()  : string|null
getPathFiche()  : string
getPrix()  : float|null
getQuantite()  : int
getRam()  : Composant|null
getSKU()  : string|null
getSpecs()  : string|null
getStockage()  : Collection|array<string|int, Composant>
getTailleEcran()  : TailleEcran|null
hasFiche()  : bool
hasFournisseur()  : bool
hasImage()  : bool
removeFournisseur()  : self
removeStockage()  : self
setCpu()  : self
setEmplacement()  : self
setFiche()  : self
setGpu()  : self
setImages()  : self
setMarque()  : self
setModele()  : self
setPrix()  : self
setRam()  : self
setSKU()  : self
setSpecs()  : self
setTailleEcran()  : self

Properties

$cpu

private Composant|null $cpu
Tags
ORM\ManyToOne

(targetEntity=Composant::class, inversedBy="laptops")

$emplacement

private Emplacement|null $emplacement
Tags
ORM\ManyToOne

(targetEntity=Emplacement::class, inversedBy="laptops")

$fiche

private string|null $fiche
Tags
ORM\Column

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

$fournisseur

private Fournisseur|Collection $fournisseur
Tags
ORM\ManyToMany

(targetEntity=Fournisseur::class, inversedBy="laptops")

$gpu

private Composant|null $gpu
Tags
ORM\ManyToOne

(targetEntity=Composant::class, inversedBy="laptops_gpu")

$id

private int|null $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$images

private mixed $images = []
Tags
ORM\Column

(type="array", nullable=true)

$marque

private Marque|null $marque
Tags
ORM\ManyToOne

(targetEntity=Marque::class, inversedBy="laptops")

$modele

private string|null $modele
Tags
ORM\Column

(type="string", length=255)

$prix

private float|null $prix
Tags
ORM\Column

(type="float", nullable=true)

$ram

private Composant|null $ram
Tags
ORM\ManyToOne

(targetEntity=Composant::class, inversedBy="laptops")

$SKU

private string|null $SKU
Tags
ORM\Column

(type="string", length=255)

$Specs

private string|null $Specs
Tags
ORM\Column

(type="text", nullable=true)

$stockage

private Composant|Collection $stockage
Tags
ORM\ManyToMany

(targetEntity=Composant::class, inversedBy="laptops")

$taille_ecran

private TailleEcran|null $taille_ecran
Tags
ORM\ManyToOne

(targetEntity=TailleEcran::class, inversedBy="laptops")

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

addImage()

public addImage(mixed $image) : mixed
Parameters
$image : mixed
Return values
mixed

getFiche()

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

getFournisseur()

public getFournisseur() : Collection|array<string|int, Fournisseur>
Return values
Collection|array<string|int, Fournisseur>

getHT()

public getHT(mixed $tva) : float
Parameters
$tva : mixed
Return values
float

getId()

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

getImages()

public getImages() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getISBN()

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

getModele()

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

getPathFiche()

public getPathFiche() : string
Return values
string

getPrix()

public getPrix() : float|null
Return values
float|null

getQuantite()

public getQuantite() : int
Return values
int

getSKU()

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

getSpecs()

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

getStockage()

public getStockage() : Collection|array<string|int, Composant>
Return values
Collection|array<string|int, Composant>

hasFiche()

public hasFiche() : bool
Return values
bool

hasFournisseur()

public hasFournisseur() : bool
Return values
bool

hasImage()

public hasImage() : bool
Return values
bool

removeStockage()

public removeStockage(Composant $stockage) : self
Parameters
$stockage : Composant
Return values
self

setEmplacement()

public setEmplacement(Emplacement|null $Emplacement) : self
Parameters
$Emplacement : Emplacement|null
Return values
self

setFiche()

public setFiche(string|null $fiche) : self
Parameters
$fiche : string|null
Return values
self

setImages()

public setImages(array<string|int, mixed>|null $images) : self
Parameters
$images : array<string|int, mixed>|null
Return values
self

setMarque()

public setMarque(Marque|null $marque) : self
Parameters
$marque : Marque|null
Return values
self

setModele()

public setModele(string $modele) : self
Parameters
$modele : string
Return values
self

setPrix()

public setPrix(float|null $prix) : self
Parameters
$prix : float|null
Return values
self

setSKU()

public setSKU(string $SKU) : self
Parameters
$SKU : string
Return values
self

setSpecs()

public setSpecs(string $Specs) : self
Parameters
$Specs : string
Return values
self

setTailleEcran()

public setTailleEcran(TailleEcran|null $taille_ecran) : self
Parameters
$taille_ecran : TailleEcran|null
Return values
self

Search results