28 lines
467 B
PHP
28 lines
467 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Providers;
|
||
|
|
|
||
|
|
use Illuminate\Support\ServiceProvider;
|
||
|
|
|
||
|
|
class HelperServiceProvider extends ServiceProvider
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* Register services.
|
||
|
|
*/
|
||
|
|
public function register()
|
||
|
|
{
|
||
|
|
$file = app_path('Helpers/Helper.php');
|
||
|
|
if (file_exists($file)) {
|
||
|
|
require_once($file);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Bootstrap services.
|
||
|
|
*/
|
||
|
|
public function boot(): void
|
||
|
|
{
|
||
|
|
//
|
||
|
|
}
|
||
|
|
}
|