FEATURE: move blog module into own repository

This commit is contained in:
Michal Kváček
2017-08-22 14:07:21 +02:00
commit 02bd68543e
49 changed files with 1319 additions and 0 deletions
@@ -0,0 +1,24 @@
<?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);
}
}