mediatekformation

Categorie
in package

Tags
ORM\Entity

(repositoryClass=CategorieRepository::class)

UniqueEntity

(fields={"name"}, message="Ce nom est déjà utilisé !")

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
ORM\ManyToMany

(targetEntity=Formation::class, mappedBy="categories" )

$id

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

(type="integer")

$name

private mixed $name
Tags
ORM\Column

(type="string", length=50, nullable=true, unique=true)

Assert\NotBlank

()

Methods

getId()

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

getName()

public getName() : string|null
Return values
string|null

setName()

public setName(string|null $name) : self
Parameters
$name : string|null
Return values
self

        
On this page

Search results