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
Route
getAppName
Cml\Service\Route::getAppName PHP Method
Route Class Documentation
Show file
Open project: linhecheng/cmlphp
getAppName()
public
method
获取应用目录可以是多层目录。如web、admin等.404的时候也必须有值用于绑定系统命令
public
getAppName
( ) :
string
return
string
public function getAppName() { return trim(self::$urlParams['path'], '\\/'); }
Route
any
delete
findAction
get
getActionName
getAppName
getControllerAndAction
getControllerName
getFullPathNotContainSubDir
getSubDirName
group
isRoute
options
parseUrl
patch
patternFactory
post
put
rest