Snipe-IT
Open Source Asset Management
FEATURES
DEMO
DOWNLOAD
DOCUMENTATION
HOSTED SOLUTION
SUPPORT
Intro
Namespaces
Classes
Files
Misc
All
Classes
Namespaces
Files
Functions
Variables
Pages
×
Search Results
snipe-it
app
Providers
MacroServiceProvider.php
Go to the documentation of this file.
1
<?php
namespace
App\Providers
;
2
3
use
Illuminate\Support\ServiceProvider
;
4
5
class
MacroServiceProvider
extends
ServiceProvider {
6
12
public
function
boot
()
13
{
14
// require base_path() . '/resources/macros/community_types.php';
15
foreach
(glob(base_path(
'resources/macros/*.php'
)) as $filename) {
16
require_once($filename);
17
}
18
19
}
20
26
public
function
register
()
27
{
28
//
29
}
30
31
}
App\Providers
Definition:
AppServiceProvider.php:2
App\Providers\MacroServiceProvider
Definition:
MacroServiceProvider.php:5
App\Providers\MacroServiceProvider\boot
boot()
Bootstrap the application services.
Definition:
MacroServiceProvider.php:12
ServiceProvider