@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function update(DataGroup $oldDataGroup, DataGroup $newDataGroup) |
23 | 23 | { |
24 | - $this->cache->forget(DataGroupCache::class . '@getById:' . $newDataGroup->id()); |
|
24 | + $this->cache->forget(DataGroupCache::class.'@getById:'.$newDataGroup->id()); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | } |
28 | 28 | \ No newline at end of file |
@@ -21,23 +21,23 @@ |
||
21 | 21 | |
22 | 22 | public function create(GroupModel $groupModel) |
23 | 23 | { |
24 | - $this->cache->forget(GroupCache::class . '@count'); |
|
25 | - $this->cache->forget(GroupCache::class . '@getByDataProviderId:' . $groupModel->dataProviderId()); |
|
24 | + $this->cache->forget(GroupCache::class.'@count'); |
|
25 | + $this->cache->forget(GroupCache::class.'@getByDataProviderId:'.$groupModel->dataProviderId()); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function delete(GroupModel $group) |
29 | 29 | { |
30 | - $this->cache->forget(GroupCache::class . '@count'); |
|
31 | - $this->cache->forget(GroupCache::class . '@getById:' . $group->id()); |
|
32 | - $this->cache->forget(GroupCache::class . '@getByDataProviderId:' . $group->dataProviderId()); |
|
30 | + $this->cache->forget(GroupCache::class.'@count'); |
|
31 | + $this->cache->forget(GroupCache::class.'@getById:'.$group->id()); |
|
32 | + $this->cache->forget(GroupCache::class.'@getByDataProviderId:'.$group->dataProviderId()); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | public function update(GroupModel $oldGroup, GroupModel $newGroup) |
36 | 36 | { |
37 | - $this->cache->forget(GroupCache::class . '@count'); |
|
38 | - $this->cache->forget(GroupCache::class . '@getById:' . $newGroup->id()); |
|
39 | - $this->cache->forget(GroupCache::class . '@getByDataProviderId:' . $oldGroup->dataProviderId()); |
|
40 | - $this->cache->forget(GroupCache::class . '@getByDataProviderId:' . $newGroup->dataProviderId()); |
|
37 | + $this->cache->forget(GroupCache::class.'@count'); |
|
38 | + $this->cache->forget(GroupCache::class.'@getById:'.$newGroup->id()); |
|
39 | + $this->cache->forget(GroupCache::class.'@getByDataProviderId:'.$oldGroup->dataProviderId()); |
|
40 | + $this->cache->forget(GroupCache::class.'@getByDataProviderId:'.$newGroup->dataProviderId()); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | } |
44 | 44 | \ No newline at end of file |
@@ -21,23 +21,23 @@ |
||
21 | 21 | |
22 | 22 | public function create(UserModel $userModel) |
23 | 23 | { |
24 | - $this->cache->forget(UserCache::class . '@count'); |
|
25 | - $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $userModel->dataProviderId()); |
|
24 | + $this->cache->forget(UserCache::class.'@count'); |
|
25 | + $this->cache->forget(UserCache::class.'@getByDataProviderId:'.$userModel->dataProviderId()); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function delete(UserModel $user) |
29 | 29 | { |
30 | - $this->cache->forget(UserCache::class . '@count'); |
|
31 | - $this->cache->forget(UserCache::class . '@getById:' . $user->id()); |
|
32 | - $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $user->dataProviderId()); |
|
30 | + $this->cache->forget(UserCache::class.'@count'); |
|
31 | + $this->cache->forget(UserCache::class.'@getById:'.$user->id()); |
|
32 | + $this->cache->forget(UserCache::class.'@getByDataProviderId:'.$user->dataProviderId()); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | public function update(UserModel $oldUser, UserModel $newUser) |
36 | 36 | { |
37 | - $this->cache->forget(UserCache::class . '@count'); |
|
38 | - $this->cache->forget(UserCache::class . '@getById:' . $newUser->id()); |
|
39 | - $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $oldUser->dataProviderId()); |
|
40 | - $this->cache->forget(UserCache::class . '@getByDataProviderId:' . $newUser->dataProviderId()); |
|
37 | + $this->cache->forget(UserCache::class.'@count'); |
|
38 | + $this->cache->forget(UserCache::class.'@getById:'.$newUser->id()); |
|
39 | + $this->cache->forget(UserCache::class.'@getByDataProviderId:'.$oldUser->dataProviderId()); |
|
40 | + $this->cache->forget(UserCache::class.'@getByDataProviderId:'.$newUser->dataProviderId()); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | } |
44 | 44 | \ No newline at end of file |
@@ -21,23 +21,23 @@ |
||
21 | 21 | |
22 | 22 | public function delete(RoleTag $roleTag) |
23 | 23 | { |
24 | - $this->cache->forget(RoleTagCache::class . '@allThroughTagCategory:' . $roleTag->categoryId()); |
|
25 | - $this->cache->forget(RoleTagCache::class . '@getById:' . $roleTag->id()); |
|
26 | - $this->cache->forget(RoleTagCache::class . '@getTagByFullReference:' . $roleTag->fullReference()); |
|
24 | + $this->cache->forget(RoleTagCache::class.'@allThroughTagCategory:'.$roleTag->categoryId()); |
|
25 | + $this->cache->forget(RoleTagCache::class.'@getById:'.$roleTag->id()); |
|
26 | + $this->cache->forget(RoleTagCache::class.'@getTagByFullReference:'.$roleTag->fullReference()); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | public function create(RoleTag $roleTag) |
30 | 30 | { |
31 | - return $this->cache->forget(RoleTagCache::class . '@allThroughTagCategory:' . $roleTag->categoryId()); |
|
31 | + return $this->cache->forget(RoleTagCache::class.'@allThroughTagCategory:'.$roleTag->categoryId()); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | public function update(RoleTag $oldRoleTag, RoleTag $newRoleTag) |
35 | 35 | { |
36 | - $this->cache->forget(RoleTagCache::class . '@getById:' . $newRoleTag->id()); |
|
37 | - $this->cache->forget(RoleTagCache::class . '@getTagByFullReference:' . $oldRoleTag->fullReference()); |
|
38 | - $this->cache->forget(RoleTagCache::class . '@getTagByFullReference:' . $newRoleTag->fullReference()); |
|
39 | - $this->cache->forget(RoleTagCache::class . '@allThroughTagCategory:' . $oldRoleTag->categoryId()); |
|
40 | - $this->cache->forget(RoleTagCache::class . '@allThroughTagCategory:' . $newRoleTag->categoryId()); |
|
36 | + $this->cache->forget(RoleTagCache::class.'@getById:'.$newRoleTag->id()); |
|
37 | + $this->cache->forget(RoleTagCache::class.'@getTagByFullReference:'.$oldRoleTag->fullReference()); |
|
38 | + $this->cache->forget(RoleTagCache::class.'@getTagByFullReference:'.$newRoleTag->fullReference()); |
|
39 | + $this->cache->forget(RoleTagCache::class.'@allThroughTagCategory:'.$oldRoleTag->categoryId()); |
|
40 | + $this->cache->forget(RoleTagCache::class.'@allThroughTagCategory:'.$newRoleTag->categoryId()); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | } |
44 | 44 | \ No newline at end of file |
@@ -21,23 +21,23 @@ |
||
21 | 21 | |
22 | 22 | public function delete(GroupTag $groupTag) |
23 | 23 | { |
24 | - $this->cache->forget(GroupTagCache::class . '@allThroughTagCategory:' . $groupTag->categoryId()); |
|
25 | - $this->cache->forget(GroupTagCache::class . '@getById:' . $groupTag->id()); |
|
26 | - $this->cache->forget(GroupTagCache::class . '@getTagByFullReference:' . $groupTag->fullReference()); |
|
24 | + $this->cache->forget(GroupTagCache::class.'@allThroughTagCategory:'.$groupTag->categoryId()); |
|
25 | + $this->cache->forget(GroupTagCache::class.'@getById:'.$groupTag->id()); |
|
26 | + $this->cache->forget(GroupTagCache::class.'@getTagByFullReference:'.$groupTag->fullReference()); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | public function create(GroupTag $groupTag) |
30 | 30 | { |
31 | - return $this->cache->forget(GroupTagCache::class . '@allThroughTagCategory:' . $groupTag->categoryId()); |
|
31 | + return $this->cache->forget(GroupTagCache::class.'@allThroughTagCategory:'.$groupTag->categoryId()); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | public function update(GroupTag $oldGroupTag, GroupTag $newGroupTag) |
35 | 35 | { |
36 | - $this->cache->forget(GroupTagCache::class . '@getById:' . $newGroupTag->id()); |
|
37 | - $this->cache->forget(GroupTagCache::class . '@getTagByFullReference:' . $oldGroupTag->fullReference()); |
|
38 | - $this->cache->forget(GroupTagCache::class . '@getTagByFullReference:' . $newGroupTag->fullReference()); |
|
39 | - $this->cache->forget(GroupTagCache::class . '@allThroughTagCategory:' . $oldGroupTag->categoryId()); |
|
40 | - $this->cache->forget(GroupTagCache::class . '@allThroughTagCategory:' . $newGroupTag->categoryId()); |
|
36 | + $this->cache->forget(GroupTagCache::class.'@getById:'.$newGroupTag->id()); |
|
37 | + $this->cache->forget(GroupTagCache::class.'@getTagByFullReference:'.$oldGroupTag->fullReference()); |
|
38 | + $this->cache->forget(GroupTagCache::class.'@getTagByFullReference:'.$newGroupTag->fullReference()); |
|
39 | + $this->cache->forget(GroupTagCache::class.'@allThroughTagCategory:'.$oldGroupTag->categoryId()); |
|
40 | + $this->cache->forget(GroupTagCache::class.'@allThroughTagCategory:'.$newGroupTag->categoryId()); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | } |
44 | 44 | \ No newline at end of file |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function delete(PositionTag $positionTag) |
22 | 22 | { |
23 | 23 | $positions = $this->positionPositionTag->getPositionsThroughTag($positionTag); |
24 | - foreach($positions as $position) { |
|
24 | + foreach ($positions as $position) { |
|
25 | 25 | $this->positionPositionTag->removeTagFromPosition($positionTag, $position); |
26 | 26 | } |
27 | 27 | } |
@@ -21,15 +21,15 @@ |
||
21 | 21 | |
22 | 22 | public function delete(PositionTagCategory $positionTagCategory) |
23 | 23 | { |
24 | - $this->cache->forget(PositionTagCategoryCache::class . '@getByReference:' . $positionTagCategory->reference()); |
|
25 | - $this->cache->forget(PositionTagCategoryCache::class . '@getById: ' . $positionTagCategory->id()); |
|
24 | + $this->cache->forget(PositionTagCategoryCache::class.'@getByReference:'.$positionTagCategory->reference()); |
|
25 | + $this->cache->forget(PositionTagCategoryCache::class.'@getById: '.$positionTagCategory->id()); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function update(PositionTagCategory $oldPositionTagCategory, PositionTagCategory $newPositionTagCategory) |
29 | 29 | { |
30 | - $this->cache->forget(PositionTagCategoryCache::class . '@getById:' . $newPositionTagCategory->id()); |
|
31 | - $this->cache->forget(PositionTagCategoryCache::class . '@getByReference:' . $newPositionTagCategory->reference()); |
|
32 | - $this->cache->forget(PositionTagCategoryCache::class . '@getByReference:' . $oldPositionTagCategory->reference()); |
|
30 | + $this->cache->forget(PositionTagCategoryCache::class.'@getById:'.$newPositionTagCategory->id()); |
|
31 | + $this->cache->forget(PositionTagCategoryCache::class.'@getByReference:'.$newPositionTagCategory->reference()); |
|
32 | + $this->cache->forget(PositionTagCategoryCache::class.'@getByReference:'.$oldPositionTagCategory->reference()); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | } |
36 | 36 | \ No newline at end of file |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function delete(RoleTag $roleTag) |
22 | 22 | { |
23 | 23 | $roles = $this->roleRoleTag->getRolesThroughTag($roleTag); |
24 | - foreach($roles as $role) { |
|
24 | + foreach ($roles as $role) { |
|
25 | 25 | $this->roleRoleTag->removeTagFromRole($roleTag, $role); |
26 | 26 | } |
27 | 27 | } |
@@ -21,23 +21,23 @@ |
||
21 | 21 | |
22 | 22 | public function delete(UserTag $userTag) |
23 | 23 | { |
24 | - $this->cache->forget(UserTagCache::class . '@allThroughTagCategory:' . $userTag->categoryId()); |
|
25 | - $this->cache->forget(UserTagCache::class . '@getById:' . $userTag->id()); |
|
26 | - $this->cache->forget(UserTagCache::class . '@getTagByFullReference:' . $userTag->fullReference()); |
|
24 | + $this->cache->forget(UserTagCache::class.'@allThroughTagCategory:'.$userTag->categoryId()); |
|
25 | + $this->cache->forget(UserTagCache::class.'@getById:'.$userTag->id()); |
|
26 | + $this->cache->forget(UserTagCache::class.'@getTagByFullReference:'.$userTag->fullReference()); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | public function create(UserTag $userTag) |
30 | 30 | { |
31 | - return $this->cache->forget(UserTagCache::class . '@allThroughTagCategory:' . $userTag->categoryId()); |
|
31 | + return $this->cache->forget(UserTagCache::class.'@allThroughTagCategory:'.$userTag->categoryId()); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | public function update(UserTag $oldUserTag, UserTag $newUserTag) |
35 | 35 | { |
36 | - $this->cache->forget(UserTagCache::class . '@getById:' . $newUserTag->id()); |
|
37 | - $this->cache->forget(UserTagCache::class . '@getTagByFullReference:' . $oldUserTag->fullReference()); |
|
38 | - $this->cache->forget(UserTagCache::class . '@getTagByFullReference:' . $newUserTag->fullReference()); |
|
39 | - $this->cache->forget(UserTagCache::class . '@allThroughTagCategory:' . $oldUserTag->categoryId()); |
|
40 | - $this->cache->forget(UserTagCache::class . '@allThroughTagCategory:' . $newUserTag->categoryId()); |
|
36 | + $this->cache->forget(UserTagCache::class.'@getById:'.$newUserTag->id()); |
|
37 | + $this->cache->forget(UserTagCache::class.'@getTagByFullReference:'.$oldUserTag->fullReference()); |
|
38 | + $this->cache->forget(UserTagCache::class.'@getTagByFullReference:'.$newUserTag->fullReference()); |
|
39 | + $this->cache->forget(UserTagCache::class.'@allThroughTagCategory:'.$oldUserTag->categoryId()); |
|
40 | + $this->cache->forget(UserTagCache::class.'@allThroughTagCategory:'.$newUserTag->categoryId()); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | } |
44 | 44 | \ No newline at end of file |