Mecha CMS

Asset hooks.

Asset::path()

Generate full private file path of the $path.

2.0.02.2.0static
Asset::path(string $path);

Example:

$A = Asset::path('.\lot\asset\css\style.css');

Note: Setting external URL to the $path parameter will return null.