<?php
namespace KnowledgeBasePlugin;
use Codeages\PluginBundle\System\PluginBase;
use KnowledgeBasePlugin\Biz\KnowledgeBaseServiceProvider;
class KnowledgeBasePlugin extends PluginBase
{
public function boot()
{
parent::boot();
$this->registerBiz();
}
public function getEnabledExtensions()
{
return ['DataTag', 'StatusTemplate', 'DataDict', 'NotificationTemplate'];
}
protected function registerBiz()
{
$biz = $this->container->get('biz');
$biz->register(new KnowledgeBaseServiceProvider());
}
}