Skip to content

Commit 9196606

Browse files
committedSep 25, 2018
Re-structured the app code to be feature based rather than code type based
1 parent 19751ed commit 9196606

File tree

109 files changed

+687
-534
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+687
-534
lines changed
 

‎app/Activity.php ‎app/Actions/Activity.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?php
22

3-
namespace BookStack;
3+
namespace BookStack\Actions;
4+
5+
use BookStack\Auth\User;
6+
use BookStack\Model;
47

58
/**
69
* @property string key

‎app/Services/ActivityService.php ‎app/Actions/ActivityService.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
<?php namespace BookStack\Services;
1+
<?php namespace BookStack\Actions;
22

3-
use BookStack\Activity;
4-
use BookStack\Entity;
3+
use BookStack\Actions\Activity;
4+
use BookStack\Auth\Permissions\PermissionService;
5+
use BookStack\Entities\Entity;
56
use Session;
67

78
class ActivityService
@@ -12,7 +13,7 @@ class ActivityService
1213

1314
/**
1415
* ActivityService constructor.
15-
* @param Activity $activity
16+
* @param \BookStack\Actions\Activity $activity
1617
* @param PermissionService $permissionService
1718
*/
1819
public function __construct(Activity $activity, PermissionService $permissionService)

0 commit comments

Comments
 (0)
Please sign in to comment.