plugins/UserImporterPlugin/UserImporterPlugin.php line 8

Open in your IDE?
  1. <?php
  2. namespace UserImporterPlugin;
  3. use Codeages\PluginBundle\System\PluginBase;
  4. use UserImporterPlugin\Biz\Importer\UserImporter;
  5. class UserImporterPlugin extends PluginBase
  6. {
  7.     public function boot()
  8.     {
  9.         parent::boot();
  10.         $biz $this->container->get('biz');
  11.         $biz['importer.user'] = function ($biz) {
  12.             return new UserImporter($biz);
  13.         };
  14.     }
  15. }