mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
32 lines
570 B
PHP
32 lines
570 B
PHP
|
<?php
|
||
|
|
||
|
namespace Oxbow\Providers;
|
||
|
|
||
|
use Illuminate\Support\ServiceProvider;
|
||
|
use Oxbow\Services\ActivityService;
|
||
|
|
||
|
class CustomFacadeProvider extends ServiceProvider
|
||
|
{
|
||
|
/**
|
||
|
* Bootstrap the application services.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function boot()
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Register the application services.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function register()
|
||
|
{
|
||
|
$this->app->bind('activity', function() {
|
||
|
return new ActivityService($this->app->make('Oxbow\Activity'));
|
||
|
});
|
||
|
}
|
||
|
}
|