plugins/CertificatePlugin/CertificatePlugin.php line 8

Open in your IDE?
  1. <?php
  2. namespace CertificatePlugin;
  3. use CertificatePlugin\Biz\CertificateServiceProvider;
  4. use Codeages\PluginBundle\System\PluginBase;
  5. class CertificatePlugin extends PluginBase
  6. {
  7.     public function boot()
  8.     {
  9.         parent::boot();
  10.         $this->registerBiz();
  11.     }
  12.     public function getEnabledExtensions()
  13.     {
  14.         return ['DataTag''StatusTemplate''DataDict''NotificationTemplate'];
  15.     }
  16.     protected function registerBiz()
  17.     {
  18.         $biz $this->container->get('biz');
  19.         $biz->register(new CertificateServiceProvider());
  20.     }
  21. }