Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Bkwld
Croppa
URL
toPath
Bkwld\Croppa\URL::toPath PHP Method
URL Class Documentation
Mostra file
Open project: bkwld/croppa
toPath()
public
method
Extract the path from a URL and remove it's leading slash
public
toPath
(
string
$url
) :
string
$url
string
return
string
path
public function toPath($url) { return ltrim(parse_url($url, PHP_URL_PATH), '/'); }
URL
__construct
buildFilters
generate
options
parse
pathToUrl
phpThumbConfig
relativePath
routePattern
signingToken
toPath