<?php
namespace RewardPointPlugin;
use Codeages\PluginBundle\System\PluginBase;
use RewardPointPlugin\Biz\Importer\RewardPointImporter;
use RewardPointPlugin\Biz\RewardPointServiceProvider;
class RewardPointPlugin extends PluginBase
{
public function boot()
{
parent::boot();
$biz = $this->container->get('biz');
$biz->register(new RewardPointServiceProvider());
$biz['importer.reward_point'] = function ($biz) {
return new RewardPointImporter($biz);
};
}
public function getEnabledExtensions()
{
return ['DataTag', 'NotificationTemplate'];
}
}