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

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