NewsController
extends AbstractController
Table of Contents
-
NEWS_PER_PAGE
= 50
-
$battle
: mixed
-
$dispatcher
: mixed
-
$navigation
: mixed
-
__construct()
: mixed
-
index()
: Response
NEWS_PER_PAGE
public
mixed
NEWS_PER_PAGE
= 50
$battle
private
mixed
$battle
$dispatcher
private
mixed
$dispatcher
$navigation
private
mixed
$navigation
__construct()
public
__construct(Navigation $navigation, EventDispatcherInterface $eventDispatcher, Battle $battle) : mixed
Parameters
-
$navigation
: Navigation
-
-
$eventDispatcher
: EventDispatcherInterface
-
-
$battle
: Battle
-
Return values
mixed
—
index()
public
index(Request $request) : Response
Parameters
-
$request
: Request
-
Return values
Response
—