src/Module.php
public function asset(string $path, ?bool $secure = null): string
    {
        return Modules::asset($this, $path, $secure);
    }
public function asset(string $path, ?bool $secure = null): string
    {
        return Modules::asset($this, $path, $secure);
    }
@param string    $path
@param bool|null $secure

@return string