class Service

Class Service

Methods

static 
setRequest(Request $request)

No description

static Request
getRequest()

No description

static void
setGenerator(UrlGeneratorInterface $generator)

Sets the URL Generator.

static UrlGeneratorInterface
getGenerator()

No description

static mixed
getParameter(string $name)

Gets a parameter

static 
setSession(SessionInterface $session)

No description

static SessionInterface
getSession()

No description

static Session
getNewSession()

Create a new session

static FormFactory
getFormFactory()

No description

static 
setFormFactory(FormFactory $formFactory)

No description

static string
getEnvironment()

No description

static 
setEnvironment(string $environment)

No description

static ModelCache
getModelCache()

No description

static 
setModelCache(ModelCache $modelCache)

No description

static ContainerInterface
getContainer()

No description

static 
setKernel($kernel)

No description

static EventDispatcher
getDispatcher()

No description

static bool
isDebug()

No description

Details

at line line 62
static setRequest(Request $request)

Parameters

Request $request

at line line 70
static Request getRequest()

Return Value

Request

at line line 86
static void setGenerator(UrlGeneratorInterface $generator)

Sets the URL Generator.

Parameters

UrlGeneratorInterface $generator

Return Value

void

at line line 94
static UrlGeneratorInterface getGenerator()

Return Value

UrlGeneratorInterface

at line line 105
static mixed getParameter(string $name)

Gets a parameter

Parameters

string $name The parameter name

Return Value

mixed The parameter value

at line line 113
static setSession(SessionInterface $session)

Parameters

SessionInterface $session

at line line 121
static SessionInterface getSession()

Return Value

SessionInterface

at line line 130
static Session getNewSession()

Create a new session

Return Value

Session

at line line 141
static FormFactory getFormFactory()

Return Value

FormFactory

at line line 149
static setFormFactory(FormFactory $formFactory)

Parameters

FormFactory $formFactory

at line line 157
static string getEnvironment()

Return Value

string

at line line 165
static setEnvironment(string $environment)

Parameters

string $environment

at line line 173
static ModelCache getModelCache()

Return Value

ModelCache

at line line 181
static setModelCache(ModelCache $modelCache)

Parameters

ModelCache $modelCache

at line line 189
static ContainerInterface getContainer()

Return Value

ContainerInterface

at line line 197
static setKernel($kernel)

Parameters

$kernel

at line line 205
static EventDispatcher getDispatcher()

Return Value

EventDispatcher

at line line 213
static bool isDebug()

Return Value

bool