mediatekformation

Formation
in package

Tags
ORM\Entity

(repositoryClass=FormationRepository::class)

UniqueEntity

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

Table of Contents

Constants

CHEMIN_IMAGE  = "https://i.ytimg.com/vi/"
Début de chemin vers les images

Properties

$categories  : mixed
$description  : mixed
$id  : mixed
$playlist  : mixed
$publishedAt  : mixed
$title  : mixed
$videoId  : mixed

Methods

__construct()  : mixed
__toString()  : mixed
addCategory()  : self
getCategories()  : Collection<int, Categorie>
getDescription()  : string|null
getId()  : int|null
getMiniature()  : string|null
getPicture()  : string|null
getPlaylist()  : Playlist|null
getPublishedAt()  : DateTimeInterface|null
getPublishedAtString()  : string
getTitle()  : string|null
getVideoId()  : string|null
removeCategory()  : self
setDescription()  : self
setPlaylist()  : self
setPublishedAt()  : self
setTitle()  : self
setVideoId()  : self

Constants

CHEMIN_IMAGE

Début de chemin vers les images

private mixed CHEMIN_IMAGE = "https://i.ytimg.com/vi/"

Properties

$categories

private mixed $categories
Tags
ORM\ManyToMany

(targetEntity=Categorie::class, inversedBy="formations" )

$description

private mixed $description
Tags
ORM\Column

(type="text", nullable=true)

$id

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

(type="integer")

$playlist

private mixed $playlist
Tags
ORM\ManyToOne

(targetEntity=Playlist::class, inversedBy="formations")

$publishedAt

private mixed $publishedAt
Tags
ORM\Column

(type="datetime", nullable=true)

Assert\LessThanOrEqual

("today")

$title

private mixed $title
Tags
ORM\Column

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

Assert\NotBlank

()

$videoId

private mixed $videoId
Tags
ORM\Column

(type="string", length=20, nullable=true)

Methods

getDescription()

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

getId()

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

getMiniature()

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

getPicture()

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

getPublishedAt()

public getPublishedAt() : DateTimeInterface|null
Return values
DateTimeInterface|null

getPublishedAtString()

public getPublishedAtString() : string
Return values
string

getTitle()

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

getVideoId()

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

setDescription()

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

setPublishedAt()

public setPublishedAt(DateTimeInterface|null $publishedAt) : self
Parameters
$publishedAt : DateTimeInterface|null
Return values
self

setTitle()

public setTitle(string|null $title) : self
Parameters
$title : string|null
Return values
self

setVideoId()

public setVideoId(string|null $videoId) : self
Parameters
$videoId : string|null
Return values
self

        
On this page

Search results