Motd
extends AbstractExtension
in package
Uses
Motd
Table of Contents
- $doctrine : mixed
- $repository : mixed
- __construct() : mixed
- display() : string
- Display MoTD item or poll.
- getFunctions() : mixed
- {@inheritdoc}
- getMotdRepository() : MotdRepository
- Get repository of MotdRepository.
- getName() : mixed
- {@inheritdoc}
- messageOfTheDay() : string
- Get message of the day link.
Properties
$doctrine
protected
mixed
$doctrine
$repository
protected
mixed
$repository
Methods
__construct()
public
__construct(EntityManagerInterface $doctrine) : mixed
Parameters
- $doctrine : EntityManagerInterface
Return values
mixed —display()
Display MoTD item or poll.
public
display(Environment $env, array<string|int, mixed> $motd[, array<string|int, mixed> $params = [] ]) : string
Parameters
- $env : Environment
- $motd : array<string|int, mixed>
- $params : array<string|int, mixed> = []
-
Extra params
Return values
string —getFunctions()
{@inheritdoc}
public
getFunctions() : mixed
Return values
mixed —getMotdRepository()
Get repository of MotdRepository.
public
getMotdRepository() : MotdRepository
Return values
MotdRepository —getName()
{@inheritdoc}
public
getName() : mixed
Return values
mixed —messageOfTheDay()
Get message of the day link.
public
messageOfTheDay(Environment $env) : string
Parameters
- $env : Environment