Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
laravel-adminpanel
Commits
1aa29b35
Commit
1aa29b35
authored
Jun 03, 2018
by
Vipul Basapati
Committed by
StyleCI Bot
Jun 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply fixes from StyleCI
parent
849c0904
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
84 additions
and
79 deletions
+84
-79
PermissionController.php
...ollers/Backend/Access/Permission/PermissionController.php
+8
-8
RoleController.php
app/Http/Controllers/Backend/Access/Role/RoleController.php
+1
-1
BlogCategoriesController.php
...llers/Backend/BlogCategories/BlogCategoriesController.php
+6
-6
BlogTagsController.php
app/Http/Controllers/Backend/BlogTags/BlogTagsController.php
+7
-7
FaqsController.php
app/Http/Controllers/Backend/Faqs/FaqsController.php
+8
-8
MenuController.php
app/Http/Controllers/Backend/Menu/MenuController.php
+15
-17
PagesController.php
app/Http/Controllers/Backend/Pages/PagesController.php
+8
-8
SettingsController.php
app/Http/Controllers/Backend/Settings/SettingsController.php
+4
-4
CreateResponse.php
...tp/Responses/Backend/Access/Permission/CreateResponse.php
+1
-1
EditResponse.php
...Http/Responses/Backend/Access/Permission/EditResponse.php
+3
-2
EditResponse.php
app/Http/Responses/Backend/BlogCategory/EditResponse.php
+3
-2
EditResponse.php
app/Http/Responses/Backend/BlogTag/EditResponse.php
+4
-3
EditResponse.php
app/Http/Responses/Backend/Faq/EditResponse.php
+3
-2
CreateResponse.php
app/Http/Responses/Backend/Menu/CreateResponse.php
+3
-3
EditResponse.php
app/Http/Responses/Backend/Menu/EditResponse.php
+6
-5
EditResponse.php
app/Http/Responses/Backend/Page/EditResponse.php
+2
-1
EditResponse.php
app/Http/Responses/Backend/Setting/EditResponse.php
+2
-1
No files found.
app/Http/Controllers/Backend/Access/Permission/PermissionController.php
View file @
1aa29b35
...
@@ -3,18 +3,18 @@
...
@@ -3,18 +3,18 @@
namespace
App\Http\Controllers\Backend\Access\Permission
;
namespace
App\Http\Controllers\Backend\Access\Permission
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Http\Responses\ViewResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Models\Access\Permission\Permission
;
use
App\Http\Responses\Backend\Access\Permission\EditResponse
;
use
App\Http\Responses\Backend\Access\Permission\CreateResponse
;
use
App\Repositories\Backend\Access\Permission\PermissionRepository
;
use
App\Http\Requests\Backend\Access\Permission\EditPermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\StorePermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\CreatePermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\CreatePermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\DeletePermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\DeletePermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\EditPermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\ManagePermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\ManagePermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\StorePermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\UpdatePermissionRequest
;
use
App\Http\Requests\Backend\Access\Permission\UpdatePermissionRequest
;
use
App\Http\Responses\Backend\Access\Permission\CreateResponse
;
use
App\Http\Responses\Backend\Access\Permission\EditResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\ViewResponse
;
use
App\Models\Access\Permission\Permission
;
use
App\Repositories\Backend\Access\Permission\PermissionRepository
;
/**
/**
* Class PermissionController.
* Class PermissionController.
...
...
app/Http/Controllers/Backend/Access/Role/RoleController.php
View file @
1aa29b35
...
@@ -108,6 +108,6 @@ class RoleController extends Controller
...
@@ -108,6 +108,6 @@ class RoleController extends Controller
{
{
$this
->
roles
->
delete
(
$role
);
$this
->
roles
->
delete
(
$role
);
return
new
RedirectResponse
(
route
(
'admin.access.role.index'
),
[
'flash_success'
=>
trans
(
'alerts.backend.roles.deleted'
)]);
return
new
RedirectResponse
(
route
(
'admin.access.role.index'
),
[
'flash_success'
=>
trans
(
'alerts.backend.roles.deleted'
)]);
}
}
}
}
app/Http/Controllers/Backend/BlogCategories/BlogCategoriesController.php
View file @
1aa29b35
...
@@ -3,16 +3,16 @@
...
@@ -3,16 +3,16 @@
namespace
App\Http\Controllers\Backend\BlogCategories
;
namespace
App\Http\Controllers\Backend\BlogCategories
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Http\Responses\ViewResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Models\BlogCategories\BlogCategory
;
use
App\Repositories\Backend\BlogCategories\BlogCategoriesRepository
;
use
App\Http\Requests\Backend\BlogCategories\EditBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\StoreBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\CreateBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\CreateBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\DeleteBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\DeleteBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\EditBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\ManageBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\ManageBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\StoreBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\UpdateBlogCategoriesRequest
;
use
App\Http\Requests\Backend\BlogCategories\UpdateBlogCategoriesRequest
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\ViewResponse
;
use
App\Models\BlogCategories\BlogCategory
;
use
App\Repositories\Backend\BlogCategories\BlogCategoriesRepository
;
/**
/**
* Class BlogCategoriesController.
* Class BlogCategoriesController.
...
...
app/Http/Controllers/Backend/BlogTags/BlogTagsController.php
View file @
1aa29b35
...
@@ -2,18 +2,18 @@
...
@@ -2,18 +2,18 @@
namespace
App\Http\Controllers\Backend\BlogTags
;
namespace
App\Http\Controllers\Backend\BlogTags
;
use
App\Models\BlogTags\BlogTag
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Http\Responses\ViewResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\Backend\BlogTag\EditResponse
;
use
App\Repositories\Backend\BlogTags\BlogTagsRepository
;
use
App\Http\Requests\Backend\BlogTags\EditBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\StoreBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\CreateBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\CreateBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\DeleteBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\DeleteBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\EditBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\ManageBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\ManageBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\StoreBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\UpdateBlogTagsRequest
;
use
App\Http\Requests\Backend\BlogTags\UpdateBlogTagsRequest
;
use
App\Http\Responses\Backend\BlogTag\EditResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\ViewResponse
;
use
App\Models\BlogTags\BlogTag
;
use
App\Repositories\Backend\BlogTags\BlogTagsRepository
;
/**
/**
* Class BlogTagsController.
* Class BlogTagsController.
...
...
app/Http/Controllers/Backend/Faqs/FaqsController.php
View file @
1aa29b35
...
@@ -2,23 +2,23 @@
...
@@ -2,23 +2,23 @@
namespace
App\Http\Controllers\Backend\Faqs
;
namespace
App\Http\Controllers\Backend\Faqs
;
use
App\Models\Faqs\Faq
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Http\Responses\ViewResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\Backend\Faq\EditResponse
;
use
App\Repositories\Backend\Faqs\FaqsRepository
;
use
App\Http\Requests\Backend\Faqs\EditFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\StoreFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\CreateFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\CreateFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\DeleteFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\DeleteFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\EditFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\ManageFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\ManageFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\StoreFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\UpdateFaqsRequest
;
use
App\Http\Requests\Backend\Faqs\UpdateFaqsRequest
;
use
App\Http\Responses\Backend\Faq\EditResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\ViewResponse
;
use
App\Models\Faqs\Faq
;
use
App\Repositories\Backend\Faqs\FaqsRepository
;
class
FaqsController
extends
Controller
class
FaqsController
extends
Controller
{
{
/**
/**
* Faq Repository
* Faq Repository
.
*
*
* @var \App\Repositories\Backend\Faqs\FaqsRepository
* @var \App\Repositories\Backend\Faqs\FaqsRepository
*/
*/
...
...
app/Http/Controllers/Backend/Menu/MenuController.php
View file @
1aa29b35
...
@@ -2,42 +2,41 @@
...
@@ -2,42 +2,41 @@
namespace
App\Http\Controllers\Backend\Menu
;
namespace
App\Http\Controllers\Backend\Menu
;
use
App\Models\Menu\Menu
;
use
Bvipul\Generator\Module
;
use
Illuminate\Support\Facades\DB
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Http\Responses\ViewResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\Backend\Menu\EditResponse
;
use
App\Repositories\Backend\Menu\MenuRepository
;
use
App\Http\Requests\Backend\Menu\EditMenuRequest
;
use
App\Http\Responses\Backend\Menu\CreateResponse
;
use
App\Http\Requests\Backend\Menu\StoreMenuRequest
;
use
App\Http\Requests\Backend\Menu\CreateMenuRequest
;
use
App\Http\Requests\Backend\Menu\CreateMenuRequest
;
use
App\Http\Requests\Backend\Menu\DeleteMenuRequest
;
use
App\Http\Requests\Backend\Menu\DeleteMenuRequest
;
use
App\Http\Requests\Backend\Menu\EditMenuRequest
;
use
App\Http\Requests\Backend\Menu\ManageMenuRequest
;
use
App\Http\Requests\Backend\Menu\ManageMenuRequest
;
use
App\Http\Requests\Backend\Menu\StoreMenuRequest
;
use
App\Http\Requests\Backend\Menu\UpdateMenuRequest
;
use
App\Http\Requests\Backend\Menu\UpdateMenuRequest
;
use
App\Http\Responses\Backend\Menu\CreateResponse
;
use
App\Http\Responses\Backend\Menu\EditResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\ViewResponse
;
use
App\Models\Menu\Menu
;
use
App\Repositories\Backend\Menu\MenuRepository
;
use
Bvipul\Generator\Module
;
class
MenuController
extends
Controller
class
MenuController
extends
Controller
{
{
/**
/**
* Menu Model Object
* Menu Model Object
.
*
*
* @var \App\Models\Menu\Menu
* @var \App\Models\Menu\Menu
*/
*/
protected
$menu
;
protected
$menu
;
/**
/**
* Module Model Object
* Module Model Object
.
*
*
* @var \Bvipul\Generator\Module
* @var \Bvipul\Generator\Module
*/
*/
protected
$modules
;
protected
$modules
;
/**
/**
* Menu Types
* Menu Types
.
*
*
* @var
A
rray
* @var
a
rray
*/
*/
protected
$types
;
protected
$types
;
...
@@ -47,14 +46,13 @@ class MenuController extends Controller
...
@@ -47,14 +46,13 @@ class MenuController extends Controller
public
function
__construct
(
MenuRepository
$menu
,
Module
$module
)
public
function
__construct
(
MenuRepository
$menu
,
Module
$module
)
{
{
$this
->
menu
=
$menu
;
$this
->
menu
=
$menu
;
$this
->
modules
=
$module
;
$this
->
modules
=
$module
;
$this
->
types
=
[
$this
->
types
=
[
'backend'
=>
'Backend'
,
'backend'
=>
'Backend'
,
'frontend'
=>
'Frontend'
,
'frontend'
=>
'Frontend'
,
];
];
}
}
/**
/**
...
...
app/Http/Controllers/Backend/Pages/PagesController.php
View file @
1aa29b35
...
@@ -2,18 +2,18 @@
...
@@ -2,18 +2,18 @@
namespace
App\Http\Controllers\Backend\Pages
;
namespace
App\Http\Controllers\Backend\Pages
;
use
App\Models\Page\Page
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Http\Responses\ViewResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\Backend\Page\EditResponse
;
use
App\Repositories\Backend\Pages\PagesRepository
;
use
App\Http\Requests\Backend\Pages\EditPageRequest
;
use
App\Http\Requests\Backend\Pages\StorePageRequest
;
use
App\Http\Requests\Backend\Pages\CreatePageRequest
;
use
App\Http\Requests\Backend\Pages\CreatePageRequest
;
use
App\Http\Requests\Backend\Pages\DeletePageRequest
;
use
App\Http\Requests\Backend\Pages\DeletePageRequest
;
use
App\Http\Requests\Backend\Pages\EditPageRequest
;
use
App\Http\Requests\Backend\Pages\ManagePageRequest
;
use
App\Http\Requests\Backend\Pages\ManagePageRequest
;
use
App\Http\Requests\Backend\Pages\StorePageRequest
;
use
App\Http\Requests\Backend\Pages\UpdatePageRequest
;
use
App\Http\Requests\Backend\Pages\UpdatePageRequest
;
use
App\Http\Responses\Backend\Page\EditResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\ViewResponse
;
use
App\Models\Page\Page
;
use
App\Repositories\Backend\Pages\PagesRepository
;
/**
/**
* Class PagesController.
* Class PagesController.
...
@@ -37,7 +37,7 @@ class PagesController extends Controller
...
@@ -37,7 +37,7 @@ class PagesController extends Controller
*/
*/
public
function
index
(
ManagePageRequest
$request
)
public
function
index
(
ManagePageRequest
$request
)
{
{
return
new
ViewResponse
(
'backend.pages.index'
);
return
new
ViewResponse
(
'backend.pages.index'
);
}
}
/**
/**
...
...
app/Http/Controllers/Backend/Settings/SettingsController.php
View file @
1aa29b35
...
@@ -2,13 +2,13 @@
...
@@ -2,13 +2,13 @@
namespace
App\Http\Controllers\Backend\Settings
;
namespace
App\Http\Controllers\Backend\Settings
;
use
App\Models\Settings\Setting
;
use
App\Http\Controllers\Controller
;
use
App\Http\Controllers\Controller
;
use
App\Http\Responses\RedirectResponse
;
use
App\Http\Responses\Backend\Setting\EditResponse
;
use
App\Repositories\Backend\Settings\SettingsRepository
;
use
App\Http\Requests\Backend\Settings\ManageSettingsRequest
;
use
App\Http\Requests\Backend\Settings\ManageSettingsRequest
;
use
App\Http\Requests\Backend\Settings\UpdateSettingsRequest
;
use
App\Http\Requests\Backend\Settings\UpdateSettingsRequest
;
use
App\Http\Responses\Backend\Setting\EditResponse
;
use
App\Http\Responses\RedirectResponse
;
use
App\Models\Settings\Setting
;
use
App\Repositories\Backend\Settings\SettingsRepository
;
/**
/**
* Class SettingsController.
* Class SettingsController.
...
...
app/Http/Responses/Backend/Access/Permission/CreateResponse.php
View file @
1aa29b35
...
@@ -12,7 +12,7 @@ class CreateResponse implements Responsable
...
@@ -12,7 +12,7 @@ class CreateResponse implements Responsable
protected
$permissions
;
protected
$permissions
;
/**
/**
* @param \App\Repositories\Backend\Access\Permission\PermissionRepository
$permissions
* @param \App\Repositories\Backend\Access\Permission\PermissionRepository $permissions
*/
*/
public
function
__construct
(
$permissions
)
public
function
__construct
(
$permissions
)
{
{
...
...
app/Http/Responses/Backend/Access/Permission/EditResponse.php
View file @
1aa29b35
...
@@ -12,7 +12,7 @@ class EditResponse implements Responsable
...
@@ -12,7 +12,7 @@ class EditResponse implements Responsable
protected
$permission
;
protected
$permission
;
/**
/**
* @param \App\Models\Access\Permission\Permission
$permission
* @param \App\Models\Access\Permission\Permission $permission
*/
*/
public
function
__construct
(
$permission
)
public
function
__construct
(
$permission
)
{
{
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
}
}
/**
/**
* toReponse
* toReponse
.
*
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Request $request
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$request
)
...
...
app/Http/Responses/Backend/BlogCategory/EditResponse.php
View file @
1aa29b35
...
@@ -12,7 +12,7 @@ class EditResponse implements Responsable
...
@@ -12,7 +12,7 @@ class EditResponse implements Responsable
protected
$blogCategory
;
protected
$blogCategory
;
/**
/**
* @param \App\Models\BlogCategories\BlogCategory
$blogCategory
* @param \App\Models\BlogCategories\BlogCategory $blogCategory
*/
*/
public
function
__construct
(
$blogCategory
,
$types
,
$modules
)
public
function
__construct
(
$blogCategory
,
$types
,
$modules
)
{
{
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
}
}
/**
/**
* toReponse
* toReponse
.
*
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Request $request
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$request
)
...
...
app/Http/Responses/Backend/BlogTag/EditResponse.php
View file @
1aa29b35
...
@@ -20,14 +20,15 @@ class EditResponse implements Responsable
...
@@ -20,14 +20,15 @@ class EditResponse implements Responsable
}
}
/**
/**
* toReponse
* toReponse
.
*
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Request $request
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$request
)
{
{
return
view
(
'backend.blogtags.edit'
)
return
view
(
'backend.blogtags.edit'
)
->
with
(
'blogtag'
,
$this
->
blogTag
);
->
with
(
'blogtag'
,
$this
->
blogTag
);
}
}
}
}
app/Http/Responses/Backend/Faq/EditResponse.php
View file @
1aa29b35
...
@@ -12,7 +12,7 @@ class EditResponse implements Responsable
...
@@ -12,7 +12,7 @@ class EditResponse implements Responsable
protected
$faq
;
protected
$faq
;
/**
/**
* @param \App\Models\Faqs\Faq
$faq
* @param \App\Models\Faqs\Faq $faq
*/
*/
public
function
__construct
(
$faq
)
public
function
__construct
(
$faq
)
{
{
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
}
}
/**
/**
* toReponse
* toReponse
.
*
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Request $request
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$request
)
...
...
app/Http/Responses/Backend/Menu/CreateResponse.php
View file @
1aa29b35
...
@@ -7,7 +7,7 @@ use Illuminate\Contracts\Support\Responsable;
...
@@ -7,7 +7,7 @@ use Illuminate\Contracts\Support\Responsable;
class
CreateResponse
implements
Responsable
class
CreateResponse
implements
Responsable
{
{
/**
/**
* @var
A
rray
* @var
a
rray
*/
*/
protected
$types
;
protected
$types
;
...
@@ -17,8 +17,8 @@ class CreateResponse implements Responsable
...
@@ -17,8 +17,8 @@ class CreateResponse implements Responsable
protected
$modules
;
protected
$modules
;
/**
/**
* @param
Array
$types
* @param
array
$types
* @param \Bvipul\Generator\Module
$modules
* @param \Bvipul\Generator\Module $modules
*/
*/
public
function
__construct
(
$types
,
$modules
)
public
function
__construct
(
$types
,
$modules
)
{
{
...
...
app/Http/Responses/Backend/Menu/EditResponse.php
View file @
1aa29b35
...
@@ -7,7 +7,7 @@ use Illuminate\Contracts\Support\Responsable;
...
@@ -7,7 +7,7 @@ use Illuminate\Contracts\Support\Responsable;
class
EditResponse
implements
Responsable
class
EditResponse
implements
Responsable
{
{
/**
/**
* @var
A
rray
* @var
a
rray
*/
*/
protected
$types
;
protected
$types
;
...
@@ -22,9 +22,9 @@ class EditResponse implements Responsable
...
@@ -22,9 +22,9 @@ class EditResponse implements Responsable
protected
$menu
;
protected
$menu
;
/**
/**
* @param \App\Models\Menu\Menu
$menu
* @param \App\Models\Menu\Menu $menu
* @param
Array
$types
* @param
array
$types
* @param \Bvipul\Generator\Module
$modules
* @param \Bvipul\Generator\Module $modules
*/
*/
public
function
__construct
(
$menu
,
$types
,
$modules
)
public
function
__construct
(
$menu
,
$types
,
$modules
)
{
{
...
@@ -34,9 +34,10 @@ class EditResponse implements Responsable
...
@@ -34,9 +34,10 @@ class EditResponse implements Responsable
}
}
/**
/**
* toReponse
* toReponse
.
*
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Request $request
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$request
)
...
...
app/Http/Responses/Backend/Page/EditResponse.php
View file @
1aa29b35
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
}
}
/**
/**
* toReponse
* toReponse
.
*
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Request $request
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$request
)
...
...
app/Http/Responses/Backend/Setting/EditResponse.php
View file @
1aa29b35
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
...
@@ -20,9 +20,10 @@ class EditResponse implements Responsable
}
}
/**
/**
* toReponse
* toReponse
.
*
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Request $request
*
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
*/
public
function
toResponse
(
$request
)
public
function
toResponse
(
$request
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment