Documentation

TailleEcran
in package

Tags
ORM\Entity

(repositoryClass=TailleEcranRepository::class)

Table of Contents

$id  : mixed
$laptops  : mixed
$size  : mixed
__construct()  : mixed
__toString()  : mixed
addLaptop()  : self
getId()  : int|null
getLaptops()  : Collection|array<string|int, Laptop>
getSize()  : float|null
removeLaptop()  : self
setSize()  : self

Properties

$id

private mixed $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$laptops

private mixed $laptops
Tags
ORM\OneToMany

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

$size

private mixed $size
Tags
ORM\Column

(type="float")

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

getId()

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

getLaptops()

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

getSize()

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

setSize()

public setSize(float $size) : self
Parameters
$size : float
Return values
self

Search results