TrainController
extends AbstractController
Table of Contents
-
$translationDomain
: mixed
-
$translationDomainNavigation
: mixed
-
$buffer
: mixed
-
$creatureFunction
: mixed
-
$dateTime
: mixed
-
$dispatcher
: mixed
-
$log
: mixed
-
$navigation
: mixed
-
$playerFunction
: mixed
-
$repository
: mixed
-
$response
: mixed
-
$serviceBattle
: mixed
-
$settings
: mixed
-
$systemMail
: mixed
-
$tool
: mixed
-
$translator
: mixed
-
__construct()
: mixed
-
autochallenge()
: Response
-
challenge()
: Response
-
enter()
: Response
-
fight()
: Response
-
index()
: Response
-
setBuffer()
: self
-
setCreatureFunction()
: self
-
setDateTime()
: self
-
setLog()
: self
-
setPlayerFunction()
: self
-
setTool()
: self
-
training()
: Response
-
getMasterInfo()
: array<string|int, mixed>
-
renderTrain()
: Response
$translationDomain
protected
mixed
$translationDomain
$translationDomainNavigation
protected
mixed
$translationDomainNavigation
$buffer
private
mixed
$buffer
$creatureFunction
private
mixed
$creatureFunction
$dateTime
private
mixed
$dateTime
$dispatcher
private
mixed
$dispatcher
$log
private
mixed
$log
$navigation
private
mixed
$navigation
$playerFunction
private
mixed
$playerFunction
$repository
private
mixed
$repository
$response
private
mixed
$response
$serviceBattle
private
mixed
$serviceBattle
$settings
private
mixed
$settings
$systemMail
private
mixed
$systemMail
private
mixed
$tool
$translator
private
mixed
$translator
__construct()
public
__construct(EventDispatcherInterface $eventDispatcher, Navigation $navigation, Response $response, Battle $battle, MastersRepository $repository, Settings $settings, TranslatorInterface $translator, SystemMail $systemMail) : mixed
Parameters
-
$eventDispatcher
: EventDispatcherInterface
-
-
$navigation
: Navigation
-
-
$response
: Response
-
-
$battle
: Battle
-
-
$repository
: MastersRepository
-
-
$settings
: Settings
-
-
$translator
: TranslatorInterface
-
-
$systemMail
: SystemMail
-
Return values
mixed
—
autochallenge()
public
autochallenge(array<string|int, mixed> $params, Request $request) : Response
Parameters
-
$params
: array<string|int, mixed>
-
-
$request
: Request
-
Return values
Response
—
challenge()
public
challenge(array<string|int, mixed> $params, Request $request) : Response
Parameters
-
$params
: array<string|int, mixed>
-
-
$request
: Request
-
Return values
Response
—
enter()
public
enter(array<string|int, mixed> $params) : Response
Parameters
-
$params
: array<string|int, mixed>
-
Return values
Response
—
fight()
public
fight(array<string|int, mixed> $params, Request $request) : Response
Parameters
-
$params
: array<string|int, mixed>
-
-
$request
: Request
-
Return values
Response
—
index()
public
index(Request $request) : Response
Parameters
-
$request
: Request
-
Return values
Response
—
setBuffer()
public
setBuffer(Buffer $buffer) : self
Parameters
-
$buffer
: Buffer
-
-
required
-
Return values
self
—
setCreatureFunction()
public
setCreatureFunction(CreatureFunction $creatureFunction) : self
Parameters
-
$creatureFunction
: CreatureFunction
-
-
required
-
Return values
self
—
setDateTime()
public
setDateTime(DateTime $dateTime) : self
Parameters
-
$dateTime
: DateTime
-
-
required
-
Return values
self
—
setLog()
public
setLog(Log $log) : self
Parameters
-
$log
: Log
-
-
required
-
Return values
self
—
setPlayerFunction()
public
setPlayerFunction(PlayerFunction $playerFunction) : self
Parameters
-
$playerFunction
: PlayerFunction
-
-
required
-
Return values
self
—
public
setTool(Tool $tool) : self
Parameters
-
$tool
: Tool
-
-
required
-
Return values
self
—
training()
public
training(array<string|int, mixed> $params, Request $request) : Response
Parameters
-
$params
: array<string|int, mixed>
-
-
$request
: Request
-
Return values
Response
—
getMasterInfo()
private
getMasterInfo(int $masterId) : array<string|int, mixed>
Parameters
-
$masterId
: int
-
Return values
array<string|int, mixed>
—
renderTrain()
private
renderTrain(array<string|int, mixed> $params) : Response
Parameters
-
$params
: array<string|int, mixed>
-
Return values
Response
—