MercenaryCampController
extends AbstractController
in package
Table of Contents
- $buffs : mixed
- $dispatcher : mixed
- $log : mixed
- $navigation : mixed
- $repository : mixed
- $response : mixed
- __construct() : mixed
- index() : Response
- buy() : Response
- enter() : mixed
- heal() : Response
- getRepository() : CompanionsRepository
- healNav() : bool
- Navs for heal companions.
- renderCamp() : Response
Properties
$buffs
private
mixed
$buffs
$dispatcher
private
mixed
$dispatcher
$log
private
mixed
$log
$navigation
private
mixed
$navigation
$repository
private
mixed
$repository
$response
private
mixed
$response
Methods
__construct()
public
__construct(Navigation $navigation, EventDispatcherInterface $eventDispatcher, Log $log, Buffer $buffs, Response $response) : mixed
Parameters
- $navigation : Navigation
- $eventDispatcher : EventDispatcherInterface
- $log : Log
- $buffs : Buffer
- $response : Response
Return values
mixed —index()
public
index(Request $request) : Response
Parameters
- $request : Request
Return values
Response —buy()
protected
buy(array<string|int, mixed> $params, Request $request) : Response
Parameters
- $params : array<string|int, mixed>
- $request : Request
Return values
Response —enter()
protected
enter(array<string|int, mixed> $params, Request $request) : mixed
Parameters
- $params : array<string|int, mixed>
- $request : Request
Return values
mixed —heal()
protected
heal(array<string|int, mixed> $params, Request $request) : Response
Parameters
- $params : array<string|int, mixed>
- $request : Request
Return values
Response —getRepository()
private
getRepository() : CompanionsRepository
Return values
CompanionsRepository —healNav()
Navs for heal companions.
private
healNav() : bool
Return values
bool —renderCamp()
private
renderCamp(array<string|int, mixed> $params) : Response
Parameters
- $params : array<string|int, mixed>