initial: bootstrap from BukidBountyApp base
This commit is contained in:
19
app/helpers.php
Normal file
19
app/helpers.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use App\Support\CdnAssetHelper;
|
||||
|
||||
if (!function_exists('cdn_asset')) {
|
||||
function cdn_asset(string $logicalName): string
|
||||
{
|
||||
return CdnAssetHelper::url($logicalName);
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('cdn_base')) {
|
||||
function cdn_base(): string
|
||||
{
|
||||
return CdnAssetHelper::base();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user