class MyTeamContainer

Class MyTeamContainer

Constants

MY_TEAM_CACHE

ALL_MY_TEAMS_CACHE

Methods

__construct(ContainerInterface $container)

MyTeamContainer constructor.

getUserRepository()

Retrieve user repository

TwigEngine|object
getTemplating()

Retrieve twig templating engine

getUserReference(int $id)

Retrieve user reference

getImageReference(int $id)

Retrieve image reference

string
getAllMyTeamsFromCache()

Retrieve teams from cache

mixed
setAllMyTeamsToCache(string $data)

Set all teams from cache

dispatchMyTeamCacheSignal(string $theme)

Dispatch event to set teams to cache on terminate

dispatchMyTeamFooterCacheSignal()

Dispatch event to set footer to cache

Details

at line 44
__construct(ContainerInterface $container)

MyTeamContainer constructor.

Parameters

ContainerInterface $container

at line 54
UserRepository getUserRepository()

Retrieve user repository

Return Value

UserRepository

at line 64
TwigEngine|object getTemplating()

Retrieve twig templating engine

Return Value

TwigEngine|object

at line 76
User getUserReference(int $id)

Retrieve user reference

Parameters

int $id

Return Value

User

at line 88
Image getImageReference(int $id)

Retrieve image reference

Parameters

int $id

Return Value

Image

at line 98
string getAllMyTeamsFromCache()

Retrieve teams from cache

Return Value

string

at line 110
mixed setAllMyTeamsToCache(string $data)

Set all teams from cache

Parameters

string $data

Return Value

mixed

at line 122
MyTeamSignalEvent dispatchMyTeamCacheSignal(string $theme)

Dispatch event to set teams to cache on terminate

Parameters

string $theme

Return Value

MyTeamSignalEvent

at line 132
MyTeamSignalEvent dispatchMyTeamFooterCacheSignal()

Dispatch event to set footer to cache

Return Value

MyTeamSignalEvent