-
#[Entity]
-
$repositoryClass: \App\Repository\CategorieRepository::class
Table of Contents
Properties
-
$formations
: Collection<int, Formation>
-
$id
: int|null
-
$name
: string|null
Methods
-
__construct()
: mixed
-
addFormation()
: static
-
getFormations()
: Collection<int, Formation>
-
getId()
: int|null
-
getName()
: string|null
-
removeFormation()
: static
-
setName()
: static
private
Collection<int, Formation>
$formations
-
#[ManyToMany]
-
$targetEntity: \App\Entity\Formation::class
-
$mappedBy: 'categories'
$id
private
int|null
$id
= null
-
#[Column]
-
#[GeneratedValue]
-
#[Id]
$name
private
string|null
$name
= null
-
#[Column]
-
$length: 50
-
$nullable: true
__construct()
public
__construct() : mixed
public
addFormation(Formation $formation) : static
Parameters
-
$formation
: Formation
-
public
getFormations() : Collection<int, Formation>
getId()
public
getId() : int|null
getName()
public
getName() : string|null
Return values
string|null
public
removeFormation(Formation $formation) : static
Parameters
-
$formation
: Formation
-
setName()
public
setName(string|null $name) : static
Parameters
-
$name
: string|null
-