src/Yggdrasil/Utils/Templating/RoutingExtension.php
public function getAsset(string $path): string
    {
        return $this->router->getConfiguration()->getBaseUrl() . ltrim($path, '/');
    }
public function getAsset(string $path): string
    {
        return $this->router->getConfiguration()->getBaseUrl() . ltrim($path, '/');
    }
public function getAsset ( string $ path ) : string { return $ this -> router -> getConfiguration ( ) -> getBaseUrl ( ) . ltrim ( $ path , '/' ) ; }
Returns absolute path for requested asset like CSS file

@param string $path Path of asset relative to web directory
@return string
Returns absolute path for requested asset like CSS file