<?php
/**
* Provider to Load Helpers, without at the code in App provider.
* To just make custom helpers clear, and seperated from the project code
*/
namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class HelperServiceProvider extends ServiceProvider
{
    /**
     * Register services.
     *
     * @return void
     */
    public function register()
    {
        // dd(app_path().'/HTTP/Helpers/*.php');
        foreach (glob(app_path().'/HTTP/Helpers/*.php') as $filename){
	        require_once($filename);
	    }
    }

    /**
     * Bootstrap services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }
}
