Categorie
in package
Tags
Table of Contents
Properties
- $formations : mixed
- $id : mixed
- $name : mixed
Methods
- __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
addFormation()
public
addFormation(Formation $formation) : self
Parameters
- $formation : Formation
Return values
selfgetFormations()
public
getFormations() : Collection<int, Formation>
Return values
Collection<int, Formation>getId()
public
getId() : int|null
Return values
int|nullgetName()
public
getName() : string|null
Return values
string|nullremoveFormation()
public
removeFormation(Formation $formation) : self
Parameters
- $formation : Formation
Return values
selfsetName()
public
setName(string|null $name) : self
Parameters
- $name : string|null