ro
65220fe06a
some serivce classes are getting to heavy, so some functionality will be offloaded to custom helper function for better manageability and readability. a couple of place holders have been added to demonstrate how helpers will be organized
27 lines
435 B
PHP
27 lines
435 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class FipamoHelperProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*/
|
|
public function register(): void
|
|
{
|
|
foreach (glob(app_path() . '/Helpers/*.php') as $filename) {
|
|
require_once $filename;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*/
|
|
public function boot(): void
|
|
{
|
|
//
|
|
}
|
|
}
|