WeaponController
extends AbstractController
Table of Contents
-
$dispatcher
: mixed
-
$log
: mixed
-
$navigation
: mixed
-
$repository
: mixed
-
$response
: mixed
-
__construct()
: mixed
-
index()
: Response
-
buy()
: Response
-
enter()
: Response
-
getRepository()
: WeaponsRepository
-
renderWeapon()
: Response
$dispatcher
private
mixed
$dispatcher
$log
private
mixed
$log
$navigation
private
mixed
$navigation
$repository
private
mixed
$repository
$response
private
mixed
$response
__construct()
public
__construct(EventDispatcherInterface $eventDispatcher, Log $log, Response $response, Navigation $navigation) : mixed
Parameters
-
$eventDispatcher
: EventDispatcherInterface
-
-
$log
: Log
-
-
$response
: Response
-
-
$navigation
: Navigation
-
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) : Response
Parameters
-
$params
: array<string|int, mixed>
-
Return values
Response
—
getRepository()
private
getRepository() : WeaponsRepository
Return values
WeaponsRepository
—
renderWeapon()
private
renderWeapon(array<string|int, mixed> $params) : Response
Parameters
-
$params
: array<string|int, mixed>
-
Return values
Response
—