class AbstractWidget (View source)

A widget always has to be created and called from a valid AppController in order to get Twig renderer engine, security context and request context.

Properties

protected $controller
protected $request

Methods

Request
getRequest()

No description

getController()

No description

__construct(Request $request, Controller $refereeController)

No description

Details

protected Request getRequest()

Return Value

Request

protected Controller getController()

Return Value

Controller

__construct(Request $request, Controller $refereeController)

Parameters

Request $request Current kernel request
Controller $refereeController Referee controller to get Twig, security context from.