Asset
in package
Table of Contents
- url() : string
- The Asset url.
Methods
url()
The Asset url.
public
static url(string $asset[, null|string $path = null ]) : string
You can configure the asset URL by setting the ASSET_URL in your .env Or optionally in the main config file.
Parameters
- $asset : string
-
path to the asset like: "/images/thing.png"
- $path : null|string = null