diff --git a/src/Template.php b/src/Template.php index 8f1e249..fbd5a4a 100644 --- a/src/Template.php +++ b/src/Template.php @@ -164,6 +164,12 @@ public function compressCSS(bool $css) return $this; } + /** + * Process a callable that modifies asset paths + * + * A callback function that accepts a string (path) and a string (type), and returns a string (transformed path) + * @param callable(string, string):string $path_holder + */ public function assetPath(callable $path_holder) { self::$asset->setPathHolder($path_holder);