Files
core/modules/Blog/Article/Providers/ArticleServiceProvider.php
T

29 lines
533 B
PHP

<?php namespace Modules\Blog\Article\Providers;
use App\Providers\ModuleServiceProvider;
class ArticleServiceProvider extends ModuleServiceProvider
{
/**
* Boot the application events.
*
* @return void
*/
public function boot()
{
parent::boot();
$this->app->register(ArticleEventServiceProvider::class);
}
protected function setModuleAlias()
{
$this->alias = 'article';
}
protected function setModulePath()
{
$this->path = __DIR__;
}
}