Legend of the Green Dragon

MotdController extends AbstractController
in package
Uses LotgdControllerTrait

Table of Contents

TRANSLATION_DOMAIN  = 'jaxon_motd'
$repository  : mixed
$translator  : mixed
__construct()  : mixed
delete()  : Response
index()  : Response
item()  : Response
poll()  : Response
vote()  : Response
Vote in a poll.
addNotification()  : never
Adds a notification to the current session for type.
renderBlock()  : Response
Renders a view block.
getParams()  : array<string|int, mixed>
Get default params.

Constants

TRANSLATION_DOMAIN

public mixed TRANSLATION_DOMAIN = 'jaxon_motd'

Properties

Methods

addNotification()

Adds a notification to the current session for type.

protected addNotification(string $type, mixed $message) : never
Parameters
$type : string
$message : mixed
Tags
throws
LogicException
Return values
never

renderBlock()

Renders a view block.

protected renderBlock(string $view, string $block[, array<string|int, mixed> $parameters = [] ][, Response|null $response = null ]) : Response
Parameters
$view : string
$block : string
$parameters : array<string|int, mixed> = []
$response : Response|null = null
Return values
Response

getParams()

Get default params.

private getParams() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results