snipe-it/app/Providers/MacroServiceProvider.php

32 lines
590 B
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
<?php namespace App\Providers;
use Illuminate\Support\ServiceProvider;
2016-12-29 14:02:18 -08:00
class MacroServiceProvider extends ServiceProvider
{
2016-03-25 01:18:05 -07:00
/**
* Bootstrap the application services.
*
* @return void
*/
public function boot()
{
// require base_path() . '/resources/macros/community_types.php';
2016-12-29 14:02:18 -08:00
foreach (glob(base_path('resources/macros/*.php')) as $filename) {
require_once($filename);
}
2016-03-25 01:18:05 -07:00
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
}