plugins/QAPlugin/QAPlugin.php line 8

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