mediatekformation

Playlist
in package

Tags
ORM\Entity

(repositoryClass=PlaylistRepository::class)

UniqueEntity

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

Table of Contents

Properties

$description  : mixed
$formations  : mixed
$id  : mixed
$name  : mixed

Methods

__construct()  : mixed
__toString()  : mixed
addFormation()  : self
getCategoriesPlaylist()  : Collection<int, string>
getDescription()  : string|null
getFormations()  : Collection<int, Formation>
getId()  : int|null
getName()  : string|null
removeFormation()  : self
setDescription()  : self
setName()  : self

Properties

$description

private mixed $description
Tags
ORM\Column

(type="text", nullable=true)

$formations

private mixed $formations
Tags
ORM\OneToMany

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

$id

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

(type="integer")

$name

private mixed $name
Tags
ORM\Column

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

Assert\NotBlank

()

Methods

__construct()

public __construct() : mixed

__toString()

public __toString() : mixed

getCategoriesPlaylist()

public getCategoriesPlaylist() : Collection<int, string>
Return values
Collection<int, string>

getDescription()

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

getId()

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

getName()

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

setDescription()

public setDescription(string|null $description) : self
Parameters
$description : string|null
Return values
self

setName()

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

        
On this page

Search results