LotgdControllerTrait
Custom trait for LoTGD Controllers
Table of Contents
- addNotification() : never
- Adds a notification to the current session for type.
- renderBlock() : Response
- Renders a view block.
Methods
addNotification()
Adds a notification to the current session for type.
protected
addNotification(string $type, mixed $message) : never
Parameters
- $type : string
- $message : mixed
Tags
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