TailleEcran
in package
Tags
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
$laptops
private
mixed
$laptops
Tags
$size
private
mixed
$size
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —addLaptop()
public
addLaptop(Laptop $laptop) : self
Parameters
- $laptop : Laptop
Return values
self —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 —removeLaptop()
public
removeLaptop(Laptop $laptop) : self
Parameters
- $laptop : Laptop
Return values
self —setSize()
public
setSize(float $size) : self
Parameters
- $size : float