<?php
namespace CreditPlugin;
use Codeages\PluginBundle\System\PluginBase;
use CreditPlugin\Biz\CreditServiceProvider;
class CreditPlugin 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 CreditServiceProvider());
}
}