31 lines
594 B
PHP
Executable File
31 lines
594 B
PHP
Executable File
<?php
|
|
|
|
namespace Webkul\Attribute\Providers;
|
|
|
|
use Illuminate\Database\Eloquent\Factory as EloquentFactory;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class AttributeServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Bootstrap services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
$this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
|
|
|
|
$this->app->make(EloquentFactory::class)->load(__DIR__ . '/../Database/Factories');
|
|
}
|
|
|
|
/**
|
|
* Register services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
|
|
}
|
|
} |