Skip to content

Commit

Permalink
rename the module as Marketing
Browse files Browse the repository at this point in the history
  • Loading branch information
suraj-webkul committed Nov 4, 2024
1 parent 9eb9687 commit 5568406
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"Webkul\\Core\\": "packages/Webkul/Core/src",
"Webkul\\Email\\": "packages/Webkul/Email/src",
"Webkul\\EmailTemplate\\": "packages/Webkul/EmailTemplate/src",
"Webkul\\MarketingEvents\\": "packages/Webkul/MarketingEvents/src",
"Webkul\\Marketing\\": "packages/Webkul/Marketing/src",
"Webkul\\Installer\\": "packages/Webkul/Installer/src",
"Webkul\\Lead\\": "packages/Webkul/Lead/src",
"Webkul\\Product\\": "packages/Webkul/Product/src",
Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
Webkul\DataGrid\Providers\DataGridServiceProvider::class,
Webkul\EmailTemplate\Providers\EmailTemplateServiceProvider::class,
Webkul\Email\Providers\EmailServiceProvider::class,
Webkul\MarketingEvents\Providers\MarketingEventServiceProvider::class,
Webkul\Marketing\Providers\MarketingEventServiceProvider::class,
Webkul\Installer\Providers\InstallerServiceProvider::class,
Webkul\Lead\Providers\LeadServiceProvider::class,
Webkul\Product\Providers\ProductServiceProvider::class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Webkul\Admin\DataGrids\Settings\MarketingEventDataGrid;
use Webkul\Admin\Http\Controllers\Controller;
use Webkul\Admin\Http\Requests\MassDestroyRequest;
use Webkul\MarketingEvents\Repositories\MarketingEventRepository;
use Webkul\Marketing\Repositories\MarketingEventRepository;

class MarketingEventController extends Controller
{
Expand Down
5 changes: 5 additions & 0 deletions packages/Webkul/Marketing/src/Contracts/MarketingEvent.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

namespace Webkul\Marketing\Contracts;

interface MarketingEvent {}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Webkul\MarketingEvents\Models;
namespace Webkul\Marketing\Models;

use Illuminate\Database\Eloquent\Model;
use Webkul\MarketingEvents\Contracts\MarketingEvent as MarketingEventContract;
use Webkul\Marketing\Contracts\MarketingEvent as MarketingEventContract;

class MarketingEvent extends Model implements MarketingEventContract
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Webkul\MarketingEvents\Models;
namespace Webkul\Marketing\Models;

use Konekt\Concord\Proxies\ModelProxy;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Webkul\MarketingEvents\Providers;
namespace Webkul\Marketing\Providers;

use Illuminate\Support\ServiceProvider;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Webkul\MarketingEvents\Providers;
namespace Webkul\Marketing\Providers;

use Webkul\Core\Providers\BaseModuleServiceProvider;

Expand All @@ -12,6 +12,6 @@ class ModuleServiceProvider extends BaseModuleServiceProvider
* @var array
*/
protected $models = [
\Webkul\MarketingEvents\Models\MarketingEvent::class,
\Webkul\Marketing\Models\MarketingEvent::class,
];
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Webkul\MarketingEvents\Repositories;
namespace Webkul\Marketing\Repositories;

use Webkul\Core\Eloquent\Repository;
use Webkul\MarketingEvents\Contracts\MarketingEvent;
use Webkul\Marketing\Contracts\MarketingEvent;

class MarketingEventRepository extends Repository
{
Expand Down

This file was deleted.

0 comments on commit 5568406

Please sign in to comment.