forked from davzie/laravel-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbindings.php
36 lines (29 loc) · 1.45 KB
/
bindings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
// The Posts Bindings
App::bind('Davzie\LaravelBootstrap\Posts\PostsInterface', function(){
return new Davzie\LaravelBootstrap\Posts\PostsRepository( new Davzie\LaravelBootstrap\Posts\Posts );
});
// The Users Bindings
App::bind('Davzie\LaravelBootstrap\Accounts\UserInterface', function(){
return new Davzie\LaravelBootstrap\Accounts\UserRepository( new Davzie\LaravelBootstrap\Accounts\User );
});
// The Settings Bindings
App::bind('Davzie\LaravelBootstrap\Settings\SettingsInterface', function(){
return new Davzie\LaravelBootstrap\Settings\SettingsRepository( new Davzie\LaravelBootstrap\Settings\Settings );
});
// The Blocks Bindings
App::bind('Davzie\LaravelBootstrap\Blocks\BlocksInterface', function(){
return new Davzie\LaravelBootstrap\Blocks\BlocksRepository( new Davzie\LaravelBootstrap\Blocks\Blocks );
});
// The Tags Bindings
App::bind('Davzie\LaravelBootstrap\Tags\TagsInterface', function(){
return new Davzie\LaravelBootstrap\Tags\TagsRepository( new Davzie\LaravelBootstrap\Tags\Tags );
});
// The Uploads Bindings
App::bind('Davzie\LaravelBootstrap\Uploads\UploadsInterface', function(){
return new Davzie\LaravelBootstrap\Uploads\UploadsRepository( new Davzie\LaravelBootstrap\Uploads\Uploads );
});
// The Galleries Bindings
App::bind('Davzie\LaravelBootstrap\Galleries\GalleriesInterface', function(){
return new Davzie\LaravelBootstrap\Galleries\GalleriesRepository( new Davzie\LaravelBootstrap\Galleries\Galleries );
});