Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
sfContext
getService
sfContext::getService PHP Method
sfContext Class Documentation
ファイルを表示
Open project: lexpress/symfony1
getService()
public
method
Retrieves a service from the service container.
public
getService
(
string
$id
) :
object
$id
string
The service identifier
return
object
The service instance
public function getService($id) { return $this->getServiceContainer()->getService($id); }
sfContext
__call
createInstance
dispatch
filterTemplateParameters
get
getActionName
getActionStack
getConfigCache
getConfiguration
getController
getDatabaseConnection
getDatabaseManager
getEventDispatcher
getI18N
getInstance
getLogger
getMailer
getModuleDirectory
getModuleName
getRequest
getResponse
getRouting
getService
getServiceContainer
getStorage
getUser
getViewCacheManager
has
hasInstance
initialize
loadFactories
offsetExists
offsetGet
offsetSet
offsetUnset
set
setMailerConfiguration
setResponse
setServiceContainerConfiguration
shutdown
shutdownUserAndStorage
switchTo