seeder-migration-issues
This commit is contained in:
38
vendor/chumper/datatable/src/Chumper/Datatable/DatatableServiceProvider.php
vendored
Normal file
38
vendor/chumper/datatable/src/Chumper/Datatable/DatatableServiceProvider.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php namespace Chumper\Datatable;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class DatatableServiceProvider extends ServiceProvider {
|
||||
|
||||
/**
|
||||
* Indicates if loading of the provider is deferred.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $defer = false;
|
||||
|
||||
public function boot()
|
||||
{
|
||||
// $this->package('chumper/datatable');
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
$this->app->singleton('datatable', Datatable::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the services provided by the provider.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function provides()
|
||||
{
|
||||
return array('datatable');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user