Skip to content

Commit a9684da

Browse files
committed
Merge branch 'feature/scope' of https://github.com/mooxphp/moox into feature/scope
2 parents f8930a4 + b6f2036 commit a9684da

5 files changed

Lines changed: 12 additions & 5 deletions

File tree

packages/category/config/category.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
use Moox\Category\Models\Category;
4+
35
/*
46
|--------------------------------------------------------------------------
57
| Moox Configuration
@@ -94,7 +96,7 @@
9496

9597
'scope_registry' => [
9698
'origins' => [
97-
'category' => \Moox\Category\Models\Category::class,
99+
'category' => Category::class,
98100
],
99101
],
100102

packages/draft/config/draft.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
use App\Models\User;
44
use Moox\Category\Models\Category;
55
use Moox\Category\Moox\Entities\Categories\Category\CategoryResource;
6+
use Moox\Draft\Models\Draft;
67
use Moox\Media\Resources\MediaResource;
78
use Moox\Tag\Forms\TaxonomyCreateForm;
89
use Moox\Tag\Models\Tag;
@@ -167,7 +168,7 @@
167168
'draft' => \Moox\Draft\Models\Draft::class,
168169
],
169170
'sources' => [
170-
'draft' => \Moox\Draft\Models\Draft::class,
171+
'draft' => Draft::class,
171172
],
172173
],
173174
];

packages/media/config/media.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
use Moox\Media\Models\Media;
4+
35
/*
46
|--------------------------------------------------------------------------
57
| Moox Configuration
@@ -126,7 +128,7 @@
126128

127129
'scope_registry' => [
128130
'origins' => [
129-
'media' => \Moox\Media\Models\Media::class,
131+
'media' => Media::class,
130132
],
131133
],
132134
];

packages/record/config/record.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
use App\Models\User;
44
use Moox\Category\Models\Category;
55
use Moox\Category\Moox\Entities\Categories\Category\CategoryResource;
6+
use Moox\Record\Models\Record;
67
use Moox\Tag\Forms\TaxonomyCreateForm;
78
use Moox\Tag\Models\Tag;
89

@@ -142,7 +143,7 @@
142143

143144
'scope_registry' => [
144145
'origins' => [
145-
'record' => \Moox\Record\Models\Record::class,
146+
'record' => Record::class,
146147
],
147148
],
148149
];

packages/tag/config/tag.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use App\Models\User;
4+
use Moox\Tag\Models\Tag;
45

56
/*
67
|--------------------------------------------------------------------------
@@ -137,7 +138,7 @@
137138

138139
'scope_registry' => [
139140
'origins' => [
140-
'tag' => \Moox\Tag\Models\Tag::class,
141+
'tag' => Tag::class,
141142
],
142143
],
143144
];

0 commit comments

Comments
 (0)