@@ -21,7 +21,7 @@ |
||
21 | 21 | public function delete(RoleTagCategory $roleTagCategory) |
22 | 22 | { |
23 | 23 | $tags = $this->roleTagRepository->allThroughTagCategory($roleTagCategory); |
24 | - foreach($tags as $tag) { |
|
24 | + foreach ($tags as $tag) { |
|
25 | 25 | $this->roleTagRepository->delete($tag->id()); |
26 | 26 | } |
27 | 27 | } |
@@ -21,15 +21,15 @@ |
||
21 | 21 | |
22 | 22 | public function delete(RoleTagCategory $roleTagCategory) |
23 | 23 | { |
24 | - $this->cache->forget(RoleTagCategoryCache::class . '@getByReference:' . $roleTagCategory->reference()); |
|
25 | - $this->cache->forget(RoleTagCategoryCache::class . '@getById: ' . $roleTagCategory->id()); |
|
24 | + $this->cache->forget(RoleTagCategoryCache::class.'@getByReference:'.$roleTagCategory->reference()); |
|
25 | + $this->cache->forget(RoleTagCategoryCache::class.'@getById: '.$roleTagCategory->id()); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function update(RoleTagCategory $oldRoleTagCategory, RoleTagCategory $newRoleTagCategory) |
29 | 29 | { |
30 | - $this->cache->forget(RoleTagCategoryCache::class . '@getById:' . $newRoleTagCategory->id()); |
|
31 | - $this->cache->forget(RoleTagCategoryCache::class . '@getByReference:' . $newRoleTagCategory->reference()); |
|
32 | - $this->cache->forget(RoleTagCategoryCache::class . '@getByReference:' . $oldRoleTagCategory->reference()); |
|
30 | + $this->cache->forget(RoleTagCategoryCache::class.'@getById:'.$newRoleTagCategory->id()); |
|
31 | + $this->cache->forget(RoleTagCategoryCache::class.'@getByReference:'.$newRoleTagCategory->reference()); |
|
32 | + $this->cache->forget(RoleTagCategoryCache::class.'@getByReference:'.$oldRoleTagCategory->reference()); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | } |
36 | 36 | \ No newline at end of file |
@@ -21,23 +21,23 @@ |
||
21 | 21 | |
22 | 22 | public function delete(PositionTag $positionTag) |
23 | 23 | { |
24 | - $this->cache->forget(PositionTagCache::class . '@allThroughTagCategory:' . $positionTag->categoryId()); |
|
25 | - $this->cache->forget(PositionTagCache::class . '@getById:' . $positionTag->id()); |
|
26 | - $this->cache->forget(PositionTagCache::class . '@getTagByFullReference:' . $positionTag->fullReference()); |
|
24 | + $this->cache->forget(PositionTagCache::class.'@allThroughTagCategory:'.$positionTag->categoryId()); |
|
25 | + $this->cache->forget(PositionTagCache::class.'@getById:'.$positionTag->id()); |
|
26 | + $this->cache->forget(PositionTagCache::class.'@getTagByFullReference:'.$positionTag->fullReference()); |
|
27 | 27 | } |
28 | 28 | |
29 | 29 | public function create(PositionTag $positionTag) |
30 | 30 | { |
31 | - return $this->cache->forget(PositionTagCache::class . '@allThroughTagCategory:' . $positionTag->categoryId()); |
|
31 | + return $this->cache->forget(PositionTagCache::class.'@allThroughTagCategory:'.$positionTag->categoryId()); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | public function update(PositionTag $oldPositionTag, PositionTag $newPositionTag) |
35 | 35 | { |
36 | - $this->cache->forget(PositionTagCache::class . '@getById:' . $newPositionTag->id()); |
|
37 | - $this->cache->forget(PositionTagCache::class . '@getTagByFullReference:' . $oldPositionTag->fullReference()); |
|
38 | - $this->cache->forget(PositionTagCache::class . '@getTagByFullReference:' . $newPositionTag->fullReference()); |
|
39 | - $this->cache->forget(PositionTagCache::class . '@allThroughTagCategory:' . $oldPositionTag->categoryId()); |
|
40 | - $this->cache->forget(PositionTagCache::class . '@allThroughTagCategory:' . $newPositionTag->categoryId()); |
|
36 | + $this->cache->forget(PositionTagCache::class.'@getById:'.$newPositionTag->id()); |
|
37 | + $this->cache->forget(PositionTagCache::class.'@getTagByFullReference:'.$oldPositionTag->fullReference()); |
|
38 | + $this->cache->forget(PositionTagCache::class.'@getTagByFullReference:'.$newPositionTag->fullReference()); |
|
39 | + $this->cache->forget(PositionTagCache::class.'@allThroughTagCategory:'.$oldPositionTag->categoryId()); |
|
40 | + $this->cache->forget(PositionTagCache::class.'@allThroughTagCategory:'.$newPositionTag->categoryId()); |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | } |
44 | 44 | \ No newline at end of file |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function delete(GroupTag $groupTag) |
22 | 22 | { |
23 | 23 | $groups = $this->groupGroupTag->getGroupsThroughTag($groupTag); |
24 | - foreach($groups as $group) { |
|
24 | + foreach ($groups as $group) { |
|
25 | 25 | $this->groupGroupTag->removeTagFromGroup($groupTag, $group); |
26 | 26 | } |
27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function delete(GroupTagCategory $groupTagCategory) |
22 | 22 | { |
23 | 23 | $tags = $this->groupTagRepository->allThroughTagCategory($groupTagCategory); |
24 | - foreach($tags as $tag) { |
|
24 | + foreach ($tags as $tag) { |
|
25 | 25 | $this->groupTagRepository->delete($tag->id()); |
26 | 26 | } |
27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function delete(PositionTagCategory $positionTagCategory) |
22 | 22 | { |
23 | 23 | $tags = $this->positionTagRepository->allThroughTagCategory($positionTagCategory); |
24 | - foreach($tags as $tag) { |
|
24 | + foreach ($tags as $tag) { |
|
25 | 25 | $this->positionTagRepository->delete($tag->id()); |
26 | 26 | } |
27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function delete(UserTagCategory $userTagCategory) |
22 | 22 | { |
23 | 23 | $tags = $this->userTagRepository->allThroughTagCategory($userTagCategory); |
24 | - foreach($tags as $tag) { |
|
24 | + foreach ($tags as $tag) { |
|
25 | 25 | $this->userTagRepository->delete($tag->id()); |
26 | 26 | } |
27 | 27 | } |
@@ -21,15 +21,15 @@ |
||
21 | 21 | |
22 | 22 | public function delete(GroupTagCategory $groupTagCategory) |
23 | 23 | { |
24 | - $this->cache->forget(GroupTagCategoryCache::class . '@getByReference:' . $groupTagCategory->reference()); |
|
25 | - $this->cache->forget(GroupTagCategoryCache::class . '@getById: ' . $groupTagCategory->id()); |
|
24 | + $this->cache->forget(GroupTagCategoryCache::class.'@getByReference:'.$groupTagCategory->reference()); |
|
25 | + $this->cache->forget(GroupTagCategoryCache::class.'@getById: '.$groupTagCategory->id()); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function update(GroupTagCategory $oldGroupTagCategory, GroupTagCategory $newGroupTagCategory) |
29 | 29 | { |
30 | - $this->cache->forget(GroupTagCategoryCache::class . '@getById:' . $newGroupTagCategory->id()); |
|
31 | - $this->cache->forget(GroupTagCategoryCache::class . '@getByReference:' . $newGroupTagCategory->reference()); |
|
32 | - $this->cache->forget(GroupTagCategoryCache::class . '@getByReference:' . $oldGroupTagCategory->reference()); |
|
30 | + $this->cache->forget(GroupTagCategoryCache::class.'@getById:'.$newGroupTagCategory->id()); |
|
31 | + $this->cache->forget(GroupTagCategoryCache::class.'@getByReference:'.$newGroupTagCategory->reference()); |
|
32 | + $this->cache->forget(GroupTagCategoryCache::class.'@getByReference:'.$oldGroupTagCategory->reference()); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | } |
36 | 36 | \ No newline at end of file |
@@ -21,7 +21,7 @@ |
||
21 | 21 | public function delete(UserTag $userTag) |
22 | 22 | { |
23 | 23 | $users = $this->userUserTag->getUsersThroughTag($userTag); |
24 | - foreach($users as $user) { |
|
24 | + foreach ($users as $user) { |
|
25 | 25 | $this->userUserTag->removeTagFromUser($userTag, $user); |
26 | 26 | } |
27 | 27 | } |