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
Jacwright
RestServer
RestServer
setRootPath
Jacwright\RestServer\RestServer::setRootPath PHP Method
RestServer Class Documentation
ファイルを表示
Open project: jacwright/RestServer
setRootPath()
public
method
public
setRootPath
(
$path
)
public function setRootPath($path) { $this->rootPath = '/' . trim($path, '/') . '/'; }
RestServer
__construct
__destruct
addClass
addErrorClass
findUrl
generateMap
getData
getFormat
getMethod
getPath
handle
handleError
loadCache
refreshCache
sendData
setJsonAssoc
setRootPath
setStatus
unauthorized
xml_encode