<?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 branches.
     *
     * @return void
     */
    public function register()
    {
        foreach (glob(app_path().'/Helpers/*.php') as $filename){
	        require_once($filename);
	    }
    }

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