UrlMaker
class UrlMaker
UrlMaker class
Properties
protected UrlGenerator | $urlGenerator | UrlGenerator instance | |
protected array | $config | Disk config array | |
protected string | $routeName | Route name |
Methods
__construct(UrlGenerator $urlGenerator, array $config)
Constructor
array
getConfig(string $name)
get storage disk config
string
getRouteName()
Get route name
void
setRouteName(string $name)
Set route name
Details
at line 58
__construct(UrlGenerator $urlGenerator, array $config)
Constructor
at line 88
string
route(File $file)
get route src
at line 99
protected string
getUrl(File $file)
get file url path
at line 118
protected array
getConfig(string $name)
get storage disk config
at line 128
string
getRouteName()
Get route name
at line 139
void
setRouteName(string $name)
Set route name