Documentation

Composant
in package

Tags
ORM\Entity

(repositoryClass=ComposantRepository::class)

Table of Contents

$categorie  : Categorie|null
$fiche  : string|null
$id  : int|null
$id_shopify  : string|null
$image  : string|null
$ISBN  : string|null
$laptops  : Laptop|Collection
$laptops_gpu  : Laptop|Collection
$marque  : string|null
$model  : string|null
$pcComposants  : PcComposants|Collection
$prix  : float|null
$quantite  : int|null
$specs  : string|null
__construct()  : mixed
__toString()  : mixed
add()  : mixed
addLaptop()  : self
addLaptopsGpu()  : self
addPcComposant()  : self
getB64Image()  : mixed
getCategorie()  : Categorie|null
getFiche()  : string|null
getHT()  : mixed
getId()  : int|null
getIdShopify()  : string|null
getImage()  : string|null
getISBN()  : string|null
getLaptops()  : Collection|array<string|int, Laptop>
getLaptopsGpu()  : Collection|array<string|int, Laptop>
getMarque()  : string|null
getModel()  : string|null
getPathFiche()  : mixed
getPcComposants()  : Collection
getPrix()  : float|null
getQuantite()  : int|null
getSpecs()  : string|null
hasFiche()  : mixed
hasImage()  : mixed
removeLaptop()  : self
removeLaptopsGpu()  : self
removePcComposant()  : self
setCategorie()  : self
setFiche()  : self
setIdShopify()  : self
setImage()  : self
setISBN()  : self
setMarque()  : self
setModel()  : self
setPrix()  : self
setQuantite()  : self
setSpecs()  : self
substract()  : mixed

Properties

$categorie

private Categorie|null $categorie
Tags
ORM\ManyToOne

(targetEntity=Categorie::class, inversedBy="composants")

$fiche

private string|null $fiche
Tags
ORM\Column

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

$id

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

(type="integer")

$id_shopify

private string|null $id_shopify
Tags
ORM\Column

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

$image

private string|null $image
Tags
ORM\Column

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

$ISBN

private string|null $ISBN
Tags
ORM\Column

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

$laptops

private Laptop|Collection $laptops
Tags
ORM\OneToMany

(targetEntity=Laptop::class, mappedBy="cpu")

$laptops_gpu

private Laptop|Collection $laptops_gpu
Tags
ORM\OneToMany

(targetEntity=Laptop::class, mappedBy="gpu")

$marque

private string|null $marque
Tags
ORM\Column

(type="string", length=255)

$model

private string|null $model
Tags
ORM\Column

(type="string", length=255)

$pcComposants

private PcComposants|Collection $pcComposants
Tags
ORM\OneToMany

(targetEntity=PcComposants::class, mappedBy="composant")

$prix

private float|null $prix
Tags
ORM\Column

(type="float", nullable=true)

$quantite

private int|null $quantite
Tags
ORM\Column

(type="integer")

$specs

private string|null $specs
Tags
ORM\Column

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

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

add()

public add(mixed $qte) : mixed
Parameters
$qte : mixed
Return values
mixed

addLaptop()

public addLaptop(Laptop $laptop) : self
Parameters
$laptop : Laptop
Return values
self

addLaptopsGpu()

public addLaptopsGpu(Laptop $laptopsGpu) : self
Parameters
$laptopsGpu : Laptop
Return values
self

getB64Image()

public getB64Image() : mixed
Return values
mixed

getFiche()

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

getHT()

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

getId()

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

getIdShopify()

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

getImage()

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

getISBN()

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

getLaptops()

public getLaptops() : Collection|array<string|int, Laptop>
Return values
Collection|array<string|int, Laptop>

getLaptopsGpu()

public getLaptopsGpu() : Collection|array<string|int, Laptop>
Return values
Collection|array<string|int, Laptop>

getMarque()

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

getModel()

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

getPathFiche()

public getPathFiche() : mixed
Return values
mixed

getPcComposants()

public getPcComposants() : Collection
Return values
Collection

getPrix()

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

getQuantite()

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

getSpecs()

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

hasFiche()

public hasFiche() : mixed
Return values
mixed

hasImage()

public hasImage() : mixed
Return values
mixed

removeLaptop()

public removeLaptop(Laptop $laptop) : self
Parameters
$laptop : Laptop
Return values
self

removeLaptopsGpu()

public removeLaptopsGpu(Laptop $laptopsGpu) : self
Parameters
$laptopsGpu : Laptop
Return values
self

setFiche()

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

setIdShopify()

public setIdShopify(string|null $id_shopify) : self
Parameters
$id_shopify : string|null
Return values
self

setImage()

public setImage(string|null $image) : self
Parameters
$image : string|null
Return values
self

setISBN()

public setISBN(string|null $ISBN) : self
Parameters
$ISBN : string|null
Return values
self

setMarque()

public setMarque(string $marque) : self
Parameters
$marque : string
Return values
self

setModel()

public setModel(string $model) : self
Parameters
$model : string
Return values
self

setPrix()

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

setQuantite()

public setQuantite(int $quantite) : self
Parameters
$quantite : int
Return values
self

setSpecs()

public setSpecs(string|null $specs) : self
Parameters
$specs : string|null
Return values
self

substract()

public substract(mixed $qte) : mixed
Parameters
$qte : mixed
Return values
mixed

Search results