mediatekformation

FormationsController extends AbstractController
in package

Description of FormationsController

Tags
author

emds

Table of Contents

PAGEFORMATIONS  = "pages/formations.html.twig"
$container  : ContainerInterface
$repository  : FormationRepository
$repositoryNiveau  : mixed
__construct()  : mixed
findAllContain()  : Response
getSubscribedServices()  : array<string|int, string>
Returns an array of service types required by such instances, optionally keyed by the service names used internally.
index()  : Response
showOne()  : Response
sort()  : Response
getParameter()  : array<string|int, mixed>|bool|float|int|string|null
Gets a container parameter by its name.

Constants

Properties

Methods

findAllContain()

public findAllContain(type $champ, Request $request) : Response
Parameters
$champ : type
$request : Request
Tags
Route

("/formations/recherche/{champ}", name="formations.findallcontain")

Return values
Response

getSubscribedServices()

Returns an array of service types required by such instances, optionally keyed by the service names used internally.

public static getSubscribedServices() : array<string|int, string>

For mandatory dependencies:

  • ['logger' => 'Psr\Log\LoggerInterface'] means the objects use the "logger" name internally to fetch a service which must implement Psr\Log\LoggerInterface.
  • ['loggers' => 'Psr\Log\LoggerInterface[]'] means the objects use the "loggers" name internally to fetch an iterable of Psr\Log\LoggerInterface instances.
  • ['Psr\Log\LoggerInterface'] is a shortcut for
  • ['Psr\Log\LoggerInterface' => 'Psr\Log\LoggerInterface']

otherwise:

  • ['logger' => '?Psr\Log\LoggerInterface'] denotes an optional dependency
  • ['loggers' => '?Psr\Log\LoggerInterface[]'] denotes an optional iterable dependency
  • ['?Psr\Log\LoggerInterface'] is a shortcut for
  • ['Psr\Log\LoggerInterface' => '?Psr\Log\LoggerInterface']
Return values
array<string|int, string>

The required service types, optionally keyed by service names

sort()

public sort(type $champ, type $ordre) : Response
Parameters
$champ : type
$ordre : type
Tags
Route

("/formations/tri/{champ}/{ordre}", name="formations.sort")

Return values
Response

getParameter()

Gets a container parameter by its name.

protected getParameter(string $name) : array<string|int, mixed>|bool|float|int|string|null
Parameters
$name : string
Tags
final
Return values
array<string|int, mixed>|bool|float|int|string|null

Search results