-
#[Entity]
-
$repositoryClass: \App\Repository\PlaylistRepository::class
Table of Contents
Properties
-
$description
: string|null
-
$formations
: Collection<int, Formation>
-
$id
: int|null
-
$name
: string|null
Methods
-
__construct()
: mixed
-
addFormation()
: static
-
getCategoriesPlaylist()
: Collection<int, string>
-
getDescription()
: string|null
-
getFormations()
: Collection<int, Formation>
-
getId()
: int|null
-
getName()
: string|null
-
removeFormation()
: static
-
setDescription()
: static
-
setName()
: static
$description
private
string|null
$description
= null
-
#[Column]
-
$type: \Doctrine\DBAL\Types\Types::TEXT
-
$nullable: true
private
Collection<int, Formation>
$formations
-
#[OneToMany]
-
$targetEntity: \App\Entity\Formation::class
-
$mappedBy: 'playlist'
$id
private
int|null
$id
= null
-
#[Column]
-
#[GeneratedValue]
-
#[Id]
$name
private
string|null
$name
= null
-
#[Column]
-
$length: 100
-
$nullable: true
__construct()
public
__construct() : mixed
public
addFormation(Formation $formation) : static
Parameters
-
$formation
: Formation
-
getCategoriesPlaylist()
public
getCategoriesPlaylist() : Collection<int, string>
Return values
Collection<int, string>
getDescription()
public
getDescription() : string|null
Return values
string|null
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
-
setDescription()
public
setDescription(string|null $description) : static
Parameters
-
$description
: string|null
-
setName()
public
setName(string|null $name) : static
Parameters
-
$name
: string|null
-