Documentation

Transporteur
in package

Tags
ORM\Entity

(repositoryClass=TransporteurRepository::class)

Table of Contents

$commande  : Commande|Collection
$id  : int|null
$livraisons  : Livraison|Collection
$name  : string|null
__construct()  : mixed
__toString()  : mixed
addCommande()  : self
addLivraison()  : self
getCommande()  : Collection
getId()  : int|null
getLivraisons()  : Collection<int, Livraison>
getName()  : string|null
hasCommande()  : bool
hasLivraison()  : bool
removeCommande()  : self
removeLivraison()  : self
setName()  : self

Properties

$commande

private Commande|Collection $commande
Tags
ORM\OneToMany

(targetEntity=Commande::class, mappedBy="transporteur",cascade={"persist"})

$id

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

(type="integer")

$livraisons

private Livraison|Collection $livraisons
Tags
ORM\OneToMany

(targetEntity=Livraison::class, mappedBy="transporteur")

$name

private string|null $name
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

getId()

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

getName()

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

hasCommande()

public hasCommande() : bool
Return values
bool

hasLivraison()

public hasLivraison() : bool
Return values
bool

setName()

public setName(string $name) : self
Parameters
$name : string
Return values
self

Search results