@@ -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 |
@@ -21,15 +21,15 @@ |
||
21 | 21 | |
22 | 22 | public function delete(UserTagCategory $userTagCategory) |
23 | 23 | { |
24 | - $this->cache->forget(UserTagCategoryCache::class . '@getByReference:' . $userTagCategory->reference()); |
|
25 | - $this->cache->forget(UserTagCategoryCache::class . '@getById: ' . $userTagCategory->id()); |
|
24 | + $this->cache->forget(UserTagCategoryCache::class.'@getByReference:'.$userTagCategory->reference()); |
|
25 | + $this->cache->forget(UserTagCategoryCache::class.'@getById: '.$userTagCategory->id()); |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | public function update(UserTagCategory $oldUserTagCategory, UserTagCategory $newUserTagCategory) |
29 | 29 | { |
30 | - $this->cache->forget(UserTagCategoryCache::class . '@getById:' . $newUserTagCategory->id()); |
|
31 | - $this->cache->forget(UserTagCategoryCache::class . '@getByReference:' . $newUserTagCategory->reference()); |
|
32 | - $this->cache->forget(UserTagCategoryCache::class . '@getByReference:' . $oldUserTagCategory->reference()); |
|
30 | + $this->cache->forget(UserTagCategoryCache::class.'@getById:'.$newUserTagCategory->id()); |
|
31 | + $this->cache->forget(UserTagCategoryCache::class.'@getByReference:'.$newUserTagCategory->reference()); |
|
32 | + $this->cache->forget(UserTagCategoryCache::class.'@getByReference:'.$oldUserTagCategory->reference()); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | } |
36 | 36 | \ No newline at end of file |
@@ -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 | } |