Reference

Guide

new Asset()

Creates a new Asset object for the given path.

new Asset(string $path)

Parameters

Name Type Default Description
$path string

Source code

kirby/src/Cms/Asset.php#L37