Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Cml
Service
FastRoute
getControllerName
Cml\Service\FastRoute::getControllerName PHP Method
FastRoute Class Documentation
Show file
Open project: linhecheng/cmlphp
getControllerName()
public
method
获取控制器名称不带Controller后缀
public
getControllerName
( ) :
string
return
string
public function getControllerName() { return trim(self::$urlParams['controller'], '\\/'); }
FastRoute
addRoute
any
delete
get
getActionName
getAppName
getControllerAndAction
getControllerName
getFullPathNotContainSubDir
getSubDirName
group
options
parseUrl
parseUrlParams
patch
patternFactory
post
put
rest