25 lines
546 B
PHP
25 lines
546 B
PHP
<?php namespace Modules\Blog\ArticleList\Providers;
|
|
|
|
use App\CMS\Modules\ServiceProviders\ServiceProvider;
|
|
use Modules\Blog\ArticleList\Pipeline\DisplayContent\LoadArticlesForList;
|
|
|
|
class ArticleListServiceProvider extends ServiceProvider
|
|
{
|
|
protected function setModuleAlias()
|
|
{
|
|
$this->alias = 'articlelist';
|
|
}
|
|
|
|
protected function setModulePath()
|
|
{
|
|
$this->path = __DIR__;
|
|
}
|
|
|
|
public function boot()
|
|
{
|
|
parent::boot();
|
|
|
|
app('displayPipeline')->add(LoadArticlesForList::class);
|
|
}
|
|
}
|