Categorie
in package
Tags
Table of Contents
- $formations : mixed
- $id : mixed
- $name : mixed
- __construct() : mixed
- addFormation() : self
- getFormations() : Collection<int, Formation>
- getId() : int|null
- getName() : string|null
- removeFormation() : self
- setName() : self
Properties
$formations
private
mixed
$formations
Tags
$id
private
mixed
$id
Tags
$name
private
mixed
$name
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —addFormation()
public
addFormation(Formation $formation) : self
Parameters
- $formation : Formation
Return values
self —getFormations()
public
getFormations() : Collection<int, Formation>
Return values
Collection<int, Formation> —getId()
public
getId() : int|null
Return values
int|null —getName()
public
getName() : string|null
Return values
string|null —removeFormation()
public
removeFormation(Formation $formation) : self
Parameters
- $formation : Formation
Return values
self —setName()
public
setName(string|null $name) : self
Parameters
- $name : string|null