Skip to content

Commit

Permalink
update files src/functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
juancristobalgd1 authored Dec 26, 2023
1 parent 766eec0 commit 92d67ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -959,13 +959,11 @@ function class_basename($class)
}

if (!function_exists('asset')) {

/**
* Generate the URL for an asset.
*
* This function takes a relative path to an asset and combines it with the base URL of the application,
* producing the full URL to the asset. It ensures proper handling of directory separators.
*
* @param string $path The relative path to the asset.
* @param string|null $basePath The base URL of the application (optional). If not provided, it uses an empty string.
* @return string The full URL to the asset.
Expand Down

0 comments on commit 92d67ac

Please sign in to comment.