Documentation

Fournisseur
in package

Tags
ORM\Entity

(repositoryClass=FournisseurRepository::class)

Table of Contents

$commande  : Commande|Collection
$details  : Details|Collection
$id  : int|null
$laptops  : Laptop|Collection
$nom  : string|null
__construct()  : mixed
__toString()  : mixed
addCommande()  : self
addDetail()  : self
addLaptop()  : self
getCommande()  : Collection
getDetails()  : Collection
getId()  : int|null
getLaptops()  : Collection|array<string|int, Laptop>
getNom()  : string|null
getValidateCmd()  : ArrayCollection|Commande
removeCommande()  : self
removeDetail()  : self
removeLaptop()  : self
setNom()  : self

Properties

$commande

private Commande|Collection $commande
Tags
ORM\OneToMany

(targetEntity=Commande::class, mappedBy="fournisseur")

$details

private Details|Collection $details
Tags
ORM\OneToMany

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

$id

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

(type="integer")

$laptops

private Laptop|Collection $laptops
Tags
ORM\ManyToMany

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

$nom

private string|null $nom
Tags
ORM\Column

(type="string", length=255)

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

getCommande()

public getCommande() : Collection
Return values
Collection

getDetails()

public getDetails() : Collection
Return values
Collection

getId()

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

getLaptops()

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

getNom()

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

setNom()

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

Search results