public function __construct($app)
 {
     parent::__construct($app);
     $this->extend('user', function () {
         return new UserImporter();
     });
     $this->extend('group', function () {
         return new GroupImporter();
     });
 }
 public function __construct($app)
 {
     parent::__construct($app);
     $this->extend('content', function () {
         return new ContentPublisher();
     });
     $this->extend('social_links', function () {
         return new SocialLinksPublisher();
     });
 }
 public function __construct($app)
 {
     parent::__construct($app);
     $this->extend('boolean', function () {
         return new BooleanImporter();
     });
     $this->extend('select', function () {
         return new SelectImporter();
     });
     $this->extend('text', function () {
         return new TextImporter();
     });
     $this->extend('textarea', function () {
         return new TextAreaImporter();
     });
     $this->extend('image_file', function () {
         return new ImageFileImporter();
     });
     $this->extend('topics', function () {
         return new TopicsImporter();
     });
     $this->extend('rating', function () {
         return new RatingImporter();
     });
     $this->extend('number', function () {
         return new NumberImporter();
     });
     $this->extend('social_links', function () {
         return new SocialLinksImporter();
     });
     $this->extend('date_time', function () {
         return new DateTimeImporter();
     });
     $this->extend('address', function () {
         return new AddressImporter();
     });
 }
Example #4
0
 public function __construct(Application $application)
 {
     parent::__construct($application);
 }
 public function __construct($app)
 {
     parent::__construct($app);
     $this->driver('attribute');
     $this->driver('block_type');
 }